随笔分类 -  训练level1

上一页 1 2 3 4
涉及基础算法及基础建模
Mice and Rice (25)(BFS)
摘要:题目描述 Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a g 阅读全文
posted @ 2022-10-17 00:51 Coder何 阅读(27) 评论(0) 推荐(0)
Total Sales of Supply Chain (25)(BFS)
摘要:题目描述 A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to cus 阅读全文
posted @ 2022-10-02 22:38 Coder何 阅读(32) 评论(0) 推荐(0)
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何 阅读(32) 评论(0) 推荐(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何 阅读(25) 评论(0) 推荐(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何 阅读(37) 评论(0) 推荐(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何 阅读(18) 评论(0) 推荐(0)
Highest Price in Supply Chain (25)
摘要:题目描述 A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to cus 阅读全文
posted @ 2022-08-29 00:23 Coder何 阅读(32) 评论(0) 推荐(0)
1012 The Best Rank (25分)
摘要:To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2022-08-27 23:37 Coder何 阅读(38) 评论(0) 推荐(0)
1010 Radix(25分)
摘要:Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a 阅读全文
posted @ 2022-08-22 00:39 Coder何 阅读(32) 评论(0) 推荐(0)
1007 Maximum Subsequence Sum(25分)
摘要:Given a sequence of K integers { N1​, N2​, ..., NK​ }. A continuous subsequence is defined to be { Ni​, Ni+1​, ..., Nj​ } where 1≤i≤j≤K. The Maximum S 阅读全文
posted @ 2022-08-14 23:13 Coder何 阅读(32) 评论(0) 推荐(0)
1003 Emergency(25分)(Dijkstra)
摘要:As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro 阅读全文
posted @ 2022-08-08 17:59 Coder何 阅读(48) 评论(0) 推荐(0)

上一页 1 2 3 4