BNY Mellon, Recent Online Assessment Questions (26th August 2023) || updated ||string modification ! Throw the ball
Question · Posted Aug 2023
1.In a park, there are n friends standing in a random order, and they plan to throw a ball around. Each friend has a unique number in the range of 1 to n, inclusive. The th friend will always throw the ball towards the friend given at receiver[i], and this will happen each second. Friend 1 always starts with the ball, and a player always throws to another player. Determine which friend has the ball after k seconds pass. ...
The full answer & interview discussion are available to premium members.
Log in Create a free account