T-Mobile interview question

Leetcode medium, and write a rest api