摘要: In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the 阅读全文
posted @ 2018-09-01 12:00 ZHUQW 阅读(123) 评论(0) 推荐(0)
摘要: This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed grap 阅读全文
posted @ 2018-09-01 11:58 ZHUQW 阅读(119) 评论(0) 推荐(0)
摘要: The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of inte 阅读全文
posted @ 2018-09-01 11:50 ZHUQW 阅读(180) 评论(0) 推荐(0)
摘要: Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains 阅读全文
posted @ 2018-09-01 11:38 ZHUQW 阅读(103) 评论(0) 推荐(0)