Sort a ll of 0s, 1s and 2s

1 min read

https://practice.geeksforgeeks.org/problems/given-a-linked-list-of-0s-1s-and-2s-sort-it/1

Flatten a linked list
Clone a linked list with next and random pointer