Return the level-order traversal of a binary tree as list of lists.
Find shortest distances from a start node in an unweighted graph.
Find minimum dice rolls to reach square 100 on a snakes-and-ladders board.
Return values visible from the right side (rightmost node per level).
Given a binary tree, return the values visible from the right side (rightmost node at each level).
In a grid, fresh oranges rot when adjacent to rotten ones. Find the minimum minutes for all to rot.