You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the code provided by you, we need to add a test case in which if we are getting the largest number as "00", we need to print it only "0". And for that reason, we need to check one more condition in the very last i.e.,
if(result.charAt(0) == '0') {
return "0";
}
The text was updated successfully, but these errors were encountered:
in the code provided by you, we need to add a test case in which if we are getting the largest number as "00", we need to print it only "0". And for that reason, we need to check one more condition in the very last i.e.,
if(result.charAt(0) == '0') {
return "0";
}
The text was updated successfully, but these errors were encountered: