4 ms·
The real problem is: Show me you understand this basic data-structure well enough to perform a simple task. "Collections.reverse(myLinkedList);" is the correct
by seanflyon 12y ago
The real problem is: Show me you understand this basic data-structure well enough to perform a simple task.
"Collections.reverse(myLinkedList);" is the correct answer to "How would you reverse a linked list if it came up in your job?", but is not a relevant answer to the interview question.