Company: Algo_University_9_feb
Difficulty: medium
Kid Photography body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 20px auto; padding: 0 15px; } h1 { color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; } h2 { color: #34495e; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 5px; } h3 { color: #555; margin-top: 20px; } p { margin-bottom: 10px; } ul { list-style-type: disc; margin-left: 20px; margin-bottom: 10px; } li { margin-bottom: 5px; } code { background-color: #f4f4f4; padding: 2px 4px; border-radius: 3px; font-family: 'Courier New', Courier, monospace; color: #c7254e; } pre { background-color: #f4f4f4; padding: 10px; border-radius: 5px; overflow-x: auto; font-family: 'Courier New', Courier, monospace; color: #333; } Kid Photography Problem Description Genie is trying to take a perfect photograph of his N kids lined up in a very specific order A[1 ... N] for their annual family album. But his mischievous kids love to mess around! Ev