CarDekho interview question

Leetcode mediums with string manipulation.