[Solved] Given a list of N numbers, how to find the number of indices the maximum number will have to move in order to reach end of list



Given a list of N numbers, how to find the number of indices the maximum number will have to move in order to reach end of list

solved Given a list of N numbers, how to find the number of indices the maximum number will have to move in order to reach end of list