摘要: Given the of a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum 阅读全文
posted @ 2021-02-21 16:17 Grandyang 阅读(576) 评论(0) 推荐(0) 编辑
摘要: In a 1 million by 1 million grid, the coordinates of each grid square are . We start at the square and want to reach the square. Each move, we can wal 阅读全文
posted @ 2021-02-21 07:42 Grandyang 阅读(943) 评论(0) 推荐(0) 编辑
Fork me on GitHub