Max query doubt

getting wrong answer

@rohit_1906 i have corrected your code here

Please mark the doubt as resolved :slight_smile: