From 693b2aa542a27e6387408c9f558e6650a85def34 Mon Sep 17 00:00:00 2001 From: Mrigesh patni Date: Wed, 12 Oct 2022 17:40:10 +0530 Subject: [PATCH] Create RotateImage.py --- .../48 - Rotate Image/RotateImage.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Leetcode-Medium/48 - Rotate Image/RotateImage.py diff --git a/Leetcode-Medium/48 - Rotate Image/RotateImage.py b/Leetcode-Medium/48 - Rotate Image/RotateImage.py new file mode 100644 index 0000000..29be4df --- /dev/null +++ b/Leetcode-Medium/48 - Rotate Image/RotateImage.py @@ -0,0 +1,17 @@ +class Solution: + def rotate(self, matrix: List[List[int]]) -> None: + """ + Do not return anything, modify matrix in-place instead. + """ + temp1 = [] + j=0 + while j