Review (5/5): Perfect and efficient solution
Perfect and efficient solution