Operating an array | School Practice Problem | GeeksforGeeks