i am not able to solve this question using stack
https://online.codingblocks.com/app/player/45708/content/37392/4976
@chikikmalhotra hey sonu see this discuss find the greates element