Facebook

www.facebook.com
Employer Engaged

Interview Question

Software Engineer Intern Interview(Student Candidate)

Reverse a linked list destructively

Answer

Interview Answer

2 Answers

0

what does it mean by 'destructively'

Anonymous on Jan 8, 2015
0

"Destructively" means "in place", reversing the linked list in place, without creating a new copy of the linked list.

Anonymous on Jan 8, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.