Adobe Interview Question

Given a binary tree, determine whether the leaves are at same level or not.

Interview Answer

Anonymous

Aug 9, 2018

Given a number as string, swap the digits so as to form the next largest number and print that number.