You are viewing a single comment's thread. Return to all comments →
no need to use stringbuilder
grid[i] = grid[i].substring(0,j) + "X" + grid[i].substring(j+1);
Seems like cookies are disabled on this browser, please enable them to open this website
Cavity Map
You are viewing a single comment's thread. Return to all comments →
no need to use stringbuilder
grid[i] = grid[i].substring(0,j) + "X" + grid[i].substring(j+1);