Posts
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/
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.

Heap in C++
· ☕ 4 min read · đŸĻ‚ Kyle
learn how to use heap in C++