Posts
Sampling
ยท โ˜• 2 min read ยท ๐Ÿฆ‚ Kyle

How to select k out of N objects.

Hugo, Deploy With Github Actions
ยท โ˜• 2 min read ยท ๐Ÿฆ‚ Kyle

I used to think deploying my blog with github actions is unnecessary, but nowโ€ฆ (็œŸ้ฆ™)
Deploying with github actions is so much faster.

Matrix Fast Pow
ยท โ˜• 5 min read ยท ๐Ÿฆ‚ Kyle

Use matrix and fast pow together can make some problems much easier.

Knapsack Problems
ยท โ˜• 3 min read ยท ๐Ÿฆ‚ Kyle

knapsack problem and its variations

Knapsack Problems
Ncurses Note
ยท โ˜• 2 min read ยท ๐Ÿฆ‚ Kyle

The Curses library forms a wrapper over working with raw terminal codes, and provides highly flexible and efficient API (Application Programming Interface). It provides functions to move the cursor, create windows, produce colors, play with mouse etc. The application programs need not worry about the underlying terminal capabilities

Union Find
ยท โ˜• 3 min read ยท ๐Ÿฆ‚ Kyle

Description from wiki: a disjoint-set data structure, also called a unionโ€“find data structure or mergeโ€“find set, is a data structure that stores a collection of disjoint (non-overlapping) sets

you can easily solve leetcode: 547. Number of Provinces w/ UF.
get UF template at github/sky-bro/AC/Algorithms/Union Find

Compile and Use Your Own Glibc
ยท โ˜• 2 min read ยท ๐Ÿฆ‚ Kyle

Easily compile and use multiple glibc on a single machine.