[Solved] Gap Contest Problem
![[Solved] Gap Contest Problem [Solved] Gap Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/06/Solved-Gap-Contest-Problem.png)
Gap: Ninja is given an array ‘A’ of size ‘N’. Where the ‘ith’ element represents the marks of the ‘ith’ student. Ninja is a depressed boy who always secures the last position in his class. He always compares himself with…