算法竞赛

HackerRank: The Minion Game 笔记和题解 Members Public

HackerRank The Minion Game 笔记和题解。做不出来时需要的两个提示。O(N) 的答案是什么。

然
HackerRank

HackerRank: Nested Lists 笔记和题解 Members Public

HackerRank Nested Lists 题解以及 Python Set 和Python Generator 的一些性质解释。Python Iterator 和 Iterable 的区别在哪。Nested Lists 题目:“Given the names and grades for each student in a class of $N$ students, store them in a nested list and print the name(s) of any student(s) having the second lowest grade...”

然
HackerRank

HackerRank: List Comprehension 笔记和题解 Members Public

HackerRank List Comprehension 题解以及 List Comprehension 的用法解释。题目:"Let's learn about list comprehensions! You are given three integers $x$, $y$ and $z$ representing the dimensions of a cuboid along with an integer. Print a list of all possible coordinates given by ..."

然
HackerRank