DevRev Interview Question

Leetcode DSA question medium to easy difficulty