https://www.bilibili.com/video/BV1Sy421a78C
https://github.com/algorithmzuo/algorithm-journey/blob/main/src/class102/Code02_Counting.java