codestudio

[Solved] Gap Contest Problem

[Solved] Gap Contest Problem

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…