Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Cleaner solution in Clear category for Weak Point by suic
def weak_point(matrix):
return list(map(find_weak, (matrix, zip(*matrix))))
def find_weak(matrix):
sums = list(map(sum, matrix))
return sums.index(min(sums))
Feb. 23, 2015