Adobe interview question

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

Interview Answer

Anonymous

9 Aug 2018

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