Https://ide.codingblocks.com/#/s/17817

Code Link - https://ide.codingblocks.com/#/s/17817

Question Link - https://www.hackerearth.com/practice/data-structures/arrays/1-d/practice-problems/algorithm/strange-game-1-7e758acb-1bff10f0/