Can anyone explain me how to find the right view of a binary tree in O(1) extra space. This was asked in one of the interviews at Josh Technology.
Can anyone explain me how to find the right view of a binary tree in O(1) extra space. This was asked in one of the interviews at Josh Technology.