Introduction
It is a medium level linked list algorithm. I wrote the solution using stacks and then I found out that it is easy to write.
My practice
Here is my discuss link.
Medium level linked list
138. Copy list with random pointer The elegant solution
143. Reorder the list
147. Insertion sort list hard to write but is readable
445. Add two numbers II
817. Linked list components using hashset
No comments:
Post a Comment