Posts with tag 'dfs'

Leaves in Same Level

less than 1 minute read

Given a binary tree root, return whether all leaves are at the same level.

Back to top ↑