Microsoft Interview Question

Given a number N, get the next bigger number on a binary tree