Problem Link Click Here Approaches Approach 1 (Brute force) we will create one array/vector to store the values from 1 to n, representing the sequence of each person As given in the question we will remove one person from the array and move forward...
ujjwalsharma.hashnode.dev1 min read
No responses yet.