Krishworks interview question

Leetcode easy, medium and number patterns