摘要: https://leetcode.com/problems/robot-return-to-origin/ There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its 阅读全文
posted @ 2019-02-17 17:08 丧心病狂工科女 阅读(205) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805359372255232 Given a tree, you are supposed to tell if it is a complete binary tree. 阅读全文
posted @ 2019-02-17 15:39 丧心病狂工科女 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805388447170560 A supply chain is a network of retailers(零售商), distributors(经销商), and su 阅读全文
posted @ 2019-02-17 14:46 丧心病狂工科女 阅读(362) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805355987451904 A Binary Search Tree (BST) is recursively defined as a binary tree which 阅读全文
posted @ 2019-02-17 14:28 丧心病狂工科女 阅读(275) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805372601090048 A family hierarchy is usually presented by a pedigree tree where all the 阅读全文
posted @ 2019-02-17 14:25 丧心病狂工科女 阅读(306) 评论(0) 推荐(0) 编辑