Goldman SachsOA #13
Find Last Kid
Estimated EasyStatement and editorial — judging is being prepared
Topics (AI-labelled)Bits & MathSimulation
Given n number of kids, t toys and random numbe
Example 1
Input:
N = 5
T = 2
D = 1
Output:
2
Explanation: As we will start from 1 and kid getting last toy is 2.
Editorial
Loading solution…