You are viewing a single comment's thread. Return to all comments →
why the code below code failed for the max values in some testcases. (But max = Math.max(max, sum); worked)
int max=0; if(sum
System.out.println(max);
Seems like cookies are disabled on this browser, please enable them to open this website
Java 2D Array
You are viewing a single comment's thread. Return to all comments →
why the code below code failed for the max values in some testcases. (But max = Math.max(max, sum); worked)
int max=0; if(sum
System.out.println(max);