You are viewing a single comment's thread. Return to all comments →
change the out limit of for loop from (s.length()/2) to (s.length()/2+1) to make it more generic
Separate the Numbers
You are viewing a single comment's thread. Return to all comments →
change the out limit of for loop from (s.length()/2) to (s.length()/2+1) to make it more generic