Microsoft interview question

Connect all leaves of binary tree by using right pointer