Hashing (25)
摘要:题目描述 The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numb
阅读全文
posted @
2022-09-26 00:53
Coder何
阅读(38)
推荐(0)
Insertion or Heap Sort (25)
摘要:题目描述 According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, in
阅读全文
posted @
2022-09-19 02:06
Coder何
阅读(39)
推荐(0)
Deduplication on a Linked List (25)
摘要:题目描述 Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute values of the keys. That is, for ea
阅读全文
posted @
2022-09-17 23:10
Coder何
阅读(49)
推荐(0)
The Largest Generation (25)
摘要:题目描述 A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to f
阅读全文
posted @
2022-09-05 00:07
Coder何
阅读(28)
推荐(0)