摘要: 1135 Is It A Red-Black Tree (30 分) 1135 Is It A Red-Black Tree (30 分) 1135 Is It A Red-Black Tree (30 分) There is a kind of balanced binary search tre 阅读全文
posted @ 2019-08-09 23:48 #忘乎所以# 阅读(491) 评论(0) 推荐(0)
摘要: 1066 Root of AVL Tree (25 分) 1066 Root of AVL Tree (25 分) 1066 Root of AVL Tree (25 分) An AVL tree is a self-balancing binary search tree. In an AVL t 阅读全文
posted @ 2019-08-09 21:30 #忘乎所以# 阅读(243) 评论(0) 推荐(0)
摘要: 1123 Is It a Complete AVL Tree (30 分) 1123 Is It a Complete AVL Tree (30 分) 1123 Is It a Complete AVL Tree (30 分) An AVL tree is a self-balancing bina 阅读全文
posted @ 2019-08-09 21:26 #忘乎所以# 阅读(205) 评论(0) 推荐(0)
摘要: 1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) 1122 Hamiltonian Cycle (25 分) The "Hamilton cycle problem" is to find a simple cycle that 阅读全文
posted @ 2019-08-09 12:34 #忘乎所以# 阅读(404) 评论(0) 推荐(0)
摘要: 1121 Damn Single (25 分) 1121 Damn Single (25 分) 1121 Damn Single (25 分) "Damn Single (单身狗)" is the Chinese nickname for someone who is being single. Y 阅读全文
posted @ 2019-08-09 12:05 #忘乎所以# 阅读(252) 评论(0) 推荐(0)
摘要: 1120 Friend Numbers (20 分) 1120 Friend Numbers (20 分) 1120 Friend Numbers (20 分) Two integers are called "friend numbers" if they share the same sum o 阅读全文
posted @ 2019-08-09 11:48 #忘乎所以# 阅读(178) 评论(0) 推荐(0)