- 博客(4)
- 收藏
- 关注
原创 1066 Root of AVL Tree(25分)
An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than one, rebalancing is done to restore this property. Figures 1-4 illustrate t
2022-05-05 02:26:21 116
原创 1069 The Black Hole of Numbers(20分)
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by taking the second number from the first one. Repeat in this m
2022-05-05 02:11:04 78
原创 1061 Dating(20分)
Sherlock Holmes received a note with some strange strings: Let’s date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm. It took him only a minute to figure out that those strange strings are actually referring to the coded time Thursday 14:04 – since
2022-05-05 02:03:10 163
原创 1048 Find Coins (25分)
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payments. However, there was a special requirement of the payment: for ea
2022-04-25 15:32:04 91
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人