Software Engineer - Backend
Software Engineer - Backend Interview Questions and Answers
Updated 2 Sep 2024
Q1. Top View of a Binary Tree
Ans.
Top View of a Binary Tree is the set of nodes visible when the tree is viewed from the top.
The top view of a binary tree can be obtained by performing a level order traversal and keeping track of the horizontal distance of each node from the root.
Nodes with the same horizontal distance are at the same level in the top view.
Example: For the binary tree 1 -> 2 -> 3 -> 4 -> 5, the top view would be 1 -> 2 -> 3 -> 4 -> 5.
Software Engineer - Backend Jobs
Senior Software Engineer - Backend Software Engineer • 8-13 years
Caterpillar Brazil
•
4.2
Chennai
Senior Software Engineer - Backend Software Engineer • 3-6 years
CATERPILLAR INDIA PRIVATE LTD
•
4.2
Chennai
Staff Software Engineer - Backend • 10-15 years
Uber
•
4.2
Bangalore / Bengaluru
Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Interview experiences of popular companies
4.0
• 303 Interviews
3.1
• 88 Interviews
3.7
• 39 Interviews
2.9
• 7 Interviews
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Share an Interview
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app