contents(algo): fix typo in matrix cheat sheet (#273)

pull/276/head
Jason Mustafa 3 years ago committed by GitHub
parent d9785ceeb3
commit d90f358311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,7 +40,7 @@ For questions involving traversal or dynamic programming, you almost always want
This can be done easily in Python in one line. This can be done easily in Python in one line.
```py ```py
# Assumes that the matrix is is non-empty # Assumes that the matrix is non-empty
zero_matrix = [[0 for _ in range(len(matrix[0]))] for _ in range(len(matrix))] zero_matrix = [[0 for _ in range(len(matrix[0]))] for _ in range(len(matrix))]
``` ```

Loading…
Cancel
Save