摘要: Amazon Interview Question SDE1sGiven a binary tree. Modify it in such a way that after modification you can have a preorder traversal of it using only right pointers. During modification you can use right as well as left pointers. Write complete code and dry run it for some test cases左子树转换后的最右叶子节点的右 阅读全文
posted @ 2014-01-15 14:45 23lalala 阅读(212) 评论(0) 推荐(0) 编辑