#penpaperncode #cses
Problem: https://cses.fi/problemset/task/1072
Solution: https://github.com/rvrishav7/CSES-Sol...
Time Stamps:
0:00 - Problem Description with Example
2:20 - Why can't we use Recursion
3:25 - Intuition and Approach
7:49 Formula Derivation
12:49 - Code
16:16 - Complexity Calculation