Scalable Capital Interview Question

2 easy level Leeycode-like problems, 1 repository implementation task