Bloomberg Interview Question

Write a code to write the last level nodes of a binary tree.