Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Speedy category for Weak Point by ValentinLukyanets
def weak_point(matrix):
n, m = len(matrix), len(matrix[0])
rows = [sum(row) for row in matrix]
columns = [sum([row[i] for row in matrix]) for i in range(m)]
return rows.index(min(rows)), columns.index(min(columns))
Nov. 9, 2015