You are viewing a single comment's thread. Return to all comments →
My java soultion
if (p % 2 != 0){ p=p-1; } int front = p/2; int back = (n-p)/2; return Math.min(front, back);
Seems like cookies are disabled on this browser, please enable them to open this website
Drawing Book
You are viewing a single comment's thread. Return to all comments →
My java soultion