You are viewing a single comment's thread. Return to all comments →
Python usng @mikesboyle solution:
in_n = [sum(i) for i in container] ball_n = list(map(sum, zip(*container))) return "Possible" if sorted(in_n) == sorted(ball_n) else "Impossible"
Seems like cookies are disabled on this browser, please enable them to open this website
Organizing Containers of Balls
You are viewing a single comment's thread. Return to all comments →
Python usng @mikesboyle solution: