Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Pythonic solution in Creative category for Weak Point by sumeet.lintel
# migrated from python 2.7
def weak_point(matrix):
key_func = lambda x: sum(x)
transpose = list(zip(*matrix))
row = matrix.index(min(matrix, key=key_func))
column = transpose.index(min(transpose, key=key_func))
return row, column
Feb. 3, 2016
Comments: