Sollicitatievraag bij Google

Sort a list

Antwoord op sollicitatievraag

Anoniem

19 mrt 2019

If the list is an ArrayList you could use quick sort, merge sort, or heap sort but if it’s a linked list your limited to merge sort because of having only sequential access.