摘要: Guessing Camels Jaap, Jan, and Thijs are on a trip to the desert after having attended the ACM ICPC World Finals 2015 in Morocco. The trip included a 阅读全文
posted @ 2017-07-13 09:01 starry_sky 阅读(278) 评论(0) 推荐(0)
摘要: Ultra-QuickSort Ultra-QuickSort In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct 阅读全文
posted @ 2017-07-13 08:55 starry_sky 阅读(477) 评论(0) 推荐(0)
摘要: BST Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, 阅读全文
posted @ 2017-07-13 08:47 starry_sky 阅读(199) 评论(0) 推荐(0)