Pocket Gems Interview Question
29 Interview Reviews |
Back to all Pocket Gems Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Programmer at Pocket Gems:
Write code to partition a linked list around a value x so that all nodes less than x come before all nodes greater than x.
Helpful Question?
Yes |
No
Inappropriate?
0 of 0 people found this helpful
by Anonymous:
Keep doing this untill you reach to the end of the linked list.
Complexity: O(N)