You are viewing a single comment's thread. Return to all comments →
My Python Solution:
return 2 if m==1 or n % 2 ==0 else 1
Seems like cookies are disabled on this browser, please enable them to open this website
Tower Breakers
You are viewing a single comment's thread. Return to all comments →
My Python Solution:
return 2 if m==1 or n % 2 ==0 else 1