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)$

De Bruijn Sequence
cin & cout is slow?
· ☕ 3 min read · đŸĻ‚ Kyle
is or why is cin, cout slow in C++?
cin & cout is slow?
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++
Heap in C++