# Coding Interview Questions on Binary Tree

Learn fundamental logic (algorithms & data structures) for solving coding questions for tech jobs in software industry.
Free tutorial
Rating: 3.9 out of 5 (11 ratings)
1,951 students
1hr 28min of on-demand video
English
English [Auto]

Binary Tree, Binary Search Tree (BST)
Invert a binary tree
Lowest Common Ancestor in a binary tree and BST
Find distance between two nodes in a binary tree
Depth First Search (DFS)
Tree traversals: Pre-order, In-order, Post-order
Binary Search
Binary Search on a nearly sorted array (not fully sorted)
Balanced brackets

## Requirements

• Some coding knowledge in any language such as C#, Java, C++, Python etc.

## Description

Binary Tree is one of the most important concept in coding questions and serves as the foundation for many advanced coding questions. If you don't understand the fundamental logic of solving Binary Tree problems then you will always be afraid of facing coding questions in any interview since these questions can be asked during any tech jobs interview.

Apart from teaching fundamental logic for solving Binary Tree problems in this course I am also teaching you some of the basic problems in Binary Tree and how other problems can be solved easily by deriving the solution from basic problems.

The best way to learn this course is to follow the course structure as it is and not skip or jump lectures. This is a fun course and by the end of this course you would have better understanding of what a Binary Tree is and how to solve questions based on them.

The questions included are based on topics such as -

- Binary Tree

- Binary Search Tree (BST)

- Lowest Common Ancestor in a binary tree and BST

- Find distance between two nodes in a binary tree

- Invert a binary tree, Depth First Search (DFS)

- Tree traversals: Pre-order, In-order, Post-order

- Binary Search

- Binary Search on a nearly sorted array (not fully sorted)

- Balanced brackets

## Who this course is for:

• Software developers, IT professionals, students who want to land tech jobs.

## Instructor

Software Professional
• 3.8 Instructor Rating
• 204 Reviews
• 10,836 Students
• 4 Courses

I am a software professional with over 10 years of experience in software development & testing. I have worked extensively on synthetic monitoring solutions, payment solutions for small merchants, cloud solutions, websites, and OAuth. I have worked for clients like Microsoft and Visa Inc. My hobbies and interests are exploring new technologies, swimming, meditation and travelling to new places.