← Amazon questions

BST to Doubly Linked List and vice versa

Filed under Amazon

Convert a Binary Search Tree (BST) to a sorted Doubly Linked List (DLL) in-place, and convert a sorted DLL back into a balanced BST.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

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