← Amazon questions

Construct tree from traversals and virus elimination operations

Filed under Amazon

Construct a binary tree from its in-order and level-order traversals. Additionally, solve a virus elimination problem: given N viruses, find the minimum number of operations to remove them all, where…

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.