Interview Questions in Product Based Companies on Tree
Easy
Medium Problems:
- Single Valued Subtree (asked in Media.net)
- Minimum distance between two given nodes (asked in Amazon)
- Connect nodes at same level (asked in Amazon)
- Maximum sum leaf to root path (asked in Morgan Stanley)
- Check if Subtree (asked in Paytm)
- Construct Tree from Preorder Traversal (asked in Amazon)
- Clone Binary Tree with random pointer (asked in DE Shaw)
- Maximum sum of non-adjacent nodes (asked in Morgan Stanley)
Hard Problems:
- Burn Binary Tree (asked in Adobe, Amazon, Google)
Recently Asked Interview Questions in Product Based Companies
Getting a job in a product-based company might be a dream for every Software Developer. However preparing for their interview process is not an easy task, particularly for the Coding Round. If you are thinking about covering so many questions and need some selected coding round questions, then you are in the right place!
w3wiki is providing a curated list of recently asked coding interview questions designed by industry experts from several interview experiences in 2024 and 2025.
You can also take part in our mock placement contests which will help you learn different topics and practice at the same time, simulating the feeling of a real placement test environment.
Preparing for FAANG? Check Out MUST DO Coding Problems for Companies like Amazon, Microsoft, Adobe, …