โ† Unthinkable Solutions questions

Reverse linked list, sort 0s 1s 2s, and array rotation

Filed under Unthinkable Solutions

The question

Write code to reverse a linked list, sort an array of 0s, 1s, and 2s in an optimized way, and right rotate an array K times in O(1) space.

No write-up yet. Related questions below have one.

Related Unthinkable Solutions questions

Collected from public candidate posts and coding forums. Updated Nov 2026.