RecordPoint interview question

2 Leetcode easy coding challenge and 1 medium