Posts
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

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

Easily compile and use multiple glibc on a single machine.

Writing Guide
· โ˜• 3 min read · ๐Ÿฆ‚ Kyle
Guides on how to write your contents using this theme (my cheatsheet).
Wargames Bandit
· โ˜• 1 min read · ๐Ÿฆ‚ Kyle
my solutions to the bandit wargame: https://overthewire.org/wargames/bandit/
Wargames Bandit
De Bruijn Sequence
· โ˜• 4 min read · ๐Ÿฆ‚ Kyle

A de Bruijn sequence of order n on a size-k alphabet A is a cyclic sequence in which every possible length-n string on A occurs exactly once as a substring.

For a de Bruijn sequence of order n on a size-k alphabet $A$, we denote it by $B(k, n)$

cin & cout is slow?
· โ˜• 3 min read · ๐Ÿฆ‚ Kyle
is or why is cin, cout slow in C++?
Segment Tree (Iterative)
· โ˜• 4 min read · ๐Ÿฆ‚ Kyle

A segment tree is a binary tree where each node represents an interval. Each node stores some property of its corresponding interval: like the maximum/minimum num, the sum of that interval.

Segment Tree (Iterative)
Heap in C++
· โ˜• 4 min read · ๐Ÿฆ‚ Kyle
learn how to use heap in C++