employer cover photo
employer logo
employer logo

Evertz Microsystems

Is this your company?

Evertz Microsystems interview question

How do you reverse a singly linked a list?

Interview Answer

Anonymous

Feb 16, 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; }