Exercises - Cracking the Coding Interview
Chapter 4 - Trees and Graphs
-
Problem 4.1 - Determine whether there is a path from node E to node S in a directed graph
-
Problem 4.2 - Generate a binary search tree given an array of sorted integers
-
Problem 4.3 - Generate lists of each depth level's nodes in a given binary tree
-
Problem 4.4 - Determine whether a binary tree is balanced
-
Problem 4.5 - Determine whether a binary tree is a binary search tree
-
Problem 4.6 - Find the successor node to a given node in a binary search tree
-
Problem 4.7 - Find build order for projects with dependencies
-
Problem 4.8 - Find the common ancestor of two given nodes in a binary tree
Problem 4.1 - Determine whether there is a path from node E to node S in a directed graph
Problem 4.2 - Generate a binary search tree given an array of sorted integers
Problem 4.3 - Generate lists of each depth level's nodes in a given binary treek
Problem 4.4 - Determine whether a binary tree is balanceds
Problem 4.5 - Determine whether a binary tree is a binary search tree
Problem 4.6 - Find the successor node to a given node in a binary search tree
Problem 4.7 - Find build order for projects with dependencies
Problem 4.8 - Find the common ancestor of two given nodes in a binary tree