Microsoft interview question

Sorting of a binary search tree, grid game