for printing end I put
if(col == m-1 || row ==n-1){
cout << " END";
}
2 test cases are failing
hey ,
@reshusinghhh put above condition for printing END outside else condition.else for odd number of columns your code will never print END.
After doing so, all test cases failing
Ok resolved now, m and n need to replace 
okay, happy to help.
mark this doubt as resolved if you donβt have any further queries.
1 Like