Leetcode 483. Smallest Good Base | Hello Interview