BlockLune's Blog

Home Tags About

Posts with tag algorithm

Notes for Algorithms, Part II: Shortest Paths

2024-02-10
algorithmdata-structurecourseragraph-theoryspanning-treenote

This is a note for 4.4 Shortest Paths, Algorithms, Part II.

Notes for Algorithms, Part II: Minimum Spanning Trees

2023-08-03
algorithmdata-structurejavacourseraminimum-spanning-treenote

This is a note for 4.3 Minimum Spanning Trees, Algorithms, Part II.

Notes for Algorithms, Part II: Directed Graphs

2023-07-29
algorithmdata-structurejavadigraphcourseranote

This is a note for 4.2 Directed Graphs, Algorithms, Part II.

Notes for Algorithms, Part II: Undirected Graphs

2023-07-27
algorithmdata-structurejavacourseragraph-theorynote

This is a note for 4.1 Undirected Graphs, Algorithms, Part II.

Notes for Nand2Tetris: Machine Language

2023-07-11
nand2tetrisprogramming-languageassemblysoftware-engineeringalgorithmnote

This is a note for Nand2Tetris unit 4.

Notes for Nand2Tetris: Boolean Arithmetic and the ALU

2023-07-08
nand2tetrisalgorithmhardware-designdigital-logiccourseranote

This is a note for Nand2Tetris Unit 2.

Permutations and Combinations in Python (itertools)

2023-05-28
pythonalgorithmdata-structureitertoolspermutations-combinationsprogramming-language

Extracted from itertools — Functions creating iterators for efficient looping — Python 3.11.3 documentation

My personal summary of Algorithms, Part I on Coursera

2023-05-12
algorithmdata-structurecourseraprincetononline-course

As the title says, this is my personal summary of Algorithms, Part I on Coursera.

C 标准库中 qsort 和 C++ STL 中 sort 的用法

2022-12-08
ccppalgorithmprogramming-languagesorting

虽然到现在还是不能完全理解 qsort 和 sort 这两个函数的底层原理,但至少,先学会如何使用吧。

求解最大公约数的四种算法

2022-12-04
algorithmdata-structurecppgcd-algorithmeuclidean-algorithm

这是一次计算机导论课的作业。本来对于最大公约数的求解算法,我就只知道一个辗转相除法。原来,其实还有别的一些 ...

初探深度优先搜索(DFS)和广度优先搜索(BFS)

2022-11-22
algorithmdata-structuregraph-traversalstack-queue

深度优先搜索(DFS,Depth First Search)和广度优先搜索(BFS,Breadth First Search),我从来没弄明白过。是时候努力去好好理解一下了。

补记一个用 C++ 实现的 2048 小游戏

2022-10-06
cppgamealgorithmdata-structureprogramming-language

校科协的加入有条件,面试前一步是笔试。免去笔试的方法也不是没有,可以做免试题。看了各个组的免试题,发现都好难好难,只有前端组的 2048 敢去尝试尝试。但我有没怎么学过 JS,便想着先用 C++ 实现一下逻辑,再把代码改过去。