Solution with detailed reasoning for Google Foobar Level 5 problem | Heykuki News