Preview
Given the root of a binary tree, return the rightmost node at each level of the tree. The output should be a list containing only the values of those nodes.
Sign in to read the full chapter.
Checking access…
Preview
Given the root of a binary tree, return the rightmost node at each level of the tree. The output should be a list containing only the values of those nodes.
Sign in to read the full chapter.
Checking access…