Zoomcar interview question

Couple of leetcode hard problems