Time limit exceeded
Can’t see the problem... Manually setting int elements = 1; or less works however and returns false... Any help suuuper appreciated! https://code.sololearn.com/cQBpM2Jeor0o/?ref=app
in your code the mistake is u place a greater than symbol in last two condition statements ...just replace the greater than to less than in the last else if statement then it works
@Gordie , you just answered my second question I just wrote :P Thank you! I should have seen that.