From d90f35831121aef79627f47e64c0737660a0df74 Mon Sep 17 00:00:00 2001 From: Jason Mustafa <41012240+jasonmustafa@users.noreply.github.com> Date: Fri, 13 May 2022 19:00:43 -0400 Subject: [PATCH] contents(algo): fix typo in matrix cheat sheet (#273) --- contents/algorithms/matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/algorithms/matrix.md b/contents/algorithms/matrix.md index ba602aa4..9a9ce927 100644 --- a/contents/algorithms/matrix.md +++ b/contents/algorithms/matrix.md @@ -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. ```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))] ```