Answers

Question and Answer:

  Home  Linked list

⟩ Given an unsorted linked list, and without using a temporary buffer, write a method that will delete any duplicates from the linked list?

Complexity: O(n^2) If you can sort the list in O(nlogn) then it will take O(nlogn).

 139 views

More Questions for you: