Amazon Online Assessment (OA) 2021 - Storage Optimization | HackerRank

Solution