Skip to content
  • Courses
  • Resources
  • Blog
  • About
  • Courses
  • Resources
  • Blog
  • About
STUDENT LOGIN
  • Courses
  • Resources
  • Blog
  • About
  • Student Login
Menu
  • Courses
  • Resources
  • Blog
  • About
  • Student Login

Tree

Autocomplete: Coding Interview Question

Article

Coding Interview Question: Autocomplete

Coding Interview Question: Write an autocomplete class that returns all dictionary words with a given prefix. Click for the solution.
Random Binary Tree: Coding Interview Question

Article

Coding Interview Question: Random Binary Tree

Coding Interview Question: Implement a binary tree with a method getRandomNode() that returns a random node. Click for the solution.
Lowest Common Ancestor: Coding Interview Question

Article

Coding Interview Question: Lowest Common Ancestor

Coding Interview Question: Given two nodes in a binary tree, write a function to find the lowest common ancestor. Click for the solution.
Doubly Linked List: Coding Interview Question

Article

Coding Interview Question: Tree to Doubly Linked List

Coding Interview Question: Given a tree, convert it into a doubly linked list from left to right by modifying the existing pointers. Click for the solution.
Longest Branch: Coding Interview Question

Article

Coding Interview Question: Longest Consecutive Branch

Coding Interview Question: Given a tree, find the length of the longest branch of nodes in increasing consecutive order. Click for the solution.
Balanced Binary Tree: Coding Interview Question

Article

Coding Interview Question: Balanced Binary Tree

Coding Interview Question: Given a binary tree, write a function to determine whether the tree is balanced. Click for the solution.
Tree Level Order: Coding Interview Question

Article

Coding Interview Question: Tree Level Order

Coding Interview Question: Given a tree, write a function that prints out the nodes of the tree in level order. Click for the solution.
Binary Tree Validation: Coding Interview Question

Article

Coding Interview Question: Binary Search Tree Verification

Coding Interview Question: Given a binary tree, write a function to test if the tree is a binary search tree. Click for the solution.
Envelope Twitter Facebook Linkedin Youtube

© Byte by Byte 2016-2022

Privacy Policy

Terms and Conditions

Earnings Disclaimer

What if coding interviews were easy?

Sounds impossible right? It’s not!

Let me show you the RIGHT way to study for interviews so you can ace your Google Interview without breaking a sweat.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.