Please either format your code or (better!) link to your submission - the forum software has mangled it and it won’t compile!
Also: what Problem are you trying to solve?
For finding the second largest element
i have cleared the test cases but when submitting it shows wrong
Also: please link to the actual Problem, so we don’t have t o Google it
Are you sure you’re making mistake in this problem?
PS: Your solution cannot be seen.
Thank you suman.You helped me man!!