2015年4月27日
摘要: http://www.patest.cn/contests/pat-a-practise/1099A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties... 阅读全文
posted @ 2015-04-27 19:56 Asin_LZM 阅读(884) 评论(0) 推荐(0) 编辑
摘要: http://www.patest.cn/contests/pat-a-practise/1096Among all the factors of a positive integer N, there may exist several consecutive numbers. For examp... 阅读全文
posted @ 2015-04-27 18:17 Asin_LZM 阅读(607) 评论(0) 推荐(0) 编辑
摘要: http://www.patest.cn/contests/pat-a-practise/1097Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated ... 阅读全文
posted @ 2015-04-27 18:13 Asin_LZM 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http://www.patest.cn/contests/pat-a-practise/1098According to Wikipedia:Insertion sortiterates, consuming one input element each repetition, and growi... 阅读全文
posted @ 2015-04-27 17:04 Asin_LZM 阅读(208) 评论(0) 推荐(0) 编辑