Posts with tag algorithm SearchNotes for Algorithms, Part II: Shortest Paths2024-02-10algorithmdata-structurecourseragraph-theoryspanning-treenoteThis is a note for 4.4 Shortest Paths, Algorithms, Part II.Notes for Algorithms, Part II: Minimum Spanning Trees2023-08-03algorithmdata-structurejavacourseraminimum-spanning-treenoteThis is a note for 4.3 Minimum Spanning Trees, Algorithms, Part II.Notes for Algorithms, Part II: Directed Graphs2023-07-29algorithmdata-structurejavadigraphcourseranoteThis is a note for 4.2 Directed Graphs, Algorithms, Part II.Notes for Algorithms, Part II: Undirected Graphs2023-07-27algorithmdata-structurejavacourseragraph-theorynoteThis is a note for 4.1 Undirected Graphs, Algorithms, Part II.Notes for Nand2Tetris: Machine Language2023-07-11nand2tetrisprogramming-languageassemblysoftware-engineeringalgorithmnoteThis is a note for Nand2Tetris unit 4.Notes for Nand2Tetris: Boolean Arithmetic and the ALU2023-07-08nand2tetrisalgorithmhardware-designdigital-logiccourseranoteThis is a note for Nand2Tetris Unit 2.Permutations and Combinations in Python (itertools)2023-05-28pythonalgorithmdata-structureitertoolspermutations-combinationsprogramming-languageExtracted from itertools — Functions creating iterators for efficient looping — Python 3.11.3 documentationMy personal summary of Algorithms, Part I on Coursera2023-05-12algorithmdata-structurecourseraprincetononline-courseAs the title says, this is my personal summary of Algorithms, Part I on Coursera.C 标准库中 qsort 和 C++ STL 中 sort 的用法2022-12-08ccppalgorithmprogramming-languagesorting虽然到现在还是不能完全理解 qsort 和 sort 这两个函数的底层原理,但至少,先学会如何使用吧。求解最大公约数的四种算法2022-12-04algorithmdata-structurecppgcd-algorithmeuclidean-algorithm这是一次计算机导论课的作业。本来对于最大公约数的求解算法,我就只知道一个辗转相除法。原来,其实还有别的一些 ...初探深度优先搜索(DFS)和广度优先搜索(BFS)2022-11-22algorithmdata-structuregraph-traversalstack-queue深度优先搜索(DFS,Depth First Search)和广度优先搜索(BFS,Breadth First Search),我从来没弄明白过。是时候努力去好好理解一下了。补记一个用 C++ 实现的 2048 小游戏2022-10-06cppgamealgorithmdata-structureprogramming-language校科协的加入有条件,面试前一步是笔试。免去笔试的方法也不是没有,可以做免试题。看了各个组的免试题,发现都好难好难,只有前端组的 2048 敢去尝试尝试。但我有没怎么学过 JS,便想着先用 C++ 实现一下逻辑,再把代码改过去。