Get step-by-step instructions on how to approach and solve common technical interview questions.
Given a binary tree, extract all the leaves in repeated succession into a list of lists by starting at the bottom and working your way upwards.
Given the root of a complete binary tree, return the number of nodes in the tree.
Given a 2D matrix, where "1" represents land and "0" represents water, count how many islands are present.
The boundary of a binary tree is the concatenation of the root, the left boundary, the leaves ordered from left-to-right, and the reverse order of the right boundary.
Interview prep and job hunting are chaos and pain. We can help. Really.