Flatten a binary tree to a linked list

0
Remix

Flatten a binary tree in place into a chain that follows pre-order, using the right pointers as next and setting every left pointer to null.

MetaRecruiter screenLast asked Aug 2025
No answer yet. Write the first one; the best answer gets endorsed.