Pergunta de entrevista da empresa Evertz Microsystems

How do you reverse a singly linked a list?

Resposta da entrevista

Sigiloso

16 de fev. de 2019

//Python 3 alist = [1, 2, 3, 4, 5, 6, 7, 8] print(alist[::-1]) //JavaScript function LinkedListNode(value){ this.value = value; this.next = null; }