Calculate partial sum with Segment Tree or Bineary Indexed Tree (BIT)
Check if there is a cycle in the undirected graph by Union-Find Tree
Implement Rabin–Karp algorithm in C++
struct and class in C++
C++ STLのmapやunordered_mapのkeyにstructを使えるようにする
剰余を取った値の四則演算
C++で標準入力から数が不定なスペース区切りの文字列を読み込んで分割する
C++でnext_permutationを使わずに順列を列挙する
C++でO(1)で読み書きできるLRUキャッシュを実装する
貪欲法(Greedy algorithm)で問題を解く
C++ STLのContainersとAlgorithms
MacのVSCodeでC++を書く環境構築
動的計画法(DP)で計算結果を再利用して計算量を減らす
単調性のある式の解を二分法で数値的に求める