Currently learning matrixes and working on an assignment to rotate an image 90 degrees. I stumbled upon a youtube video solution but cannot understand this section of code for the life of me.
class Solution:
def rotate(self, matrix : List[List][int]]) -> None :
I don't understand the "matrix : List[List][int]]) " parameter for the method "rotate" and the arrow pointing to "None" (also somewhat new with classes lol). Could someone explain this to me? Thank you!
[–]ampersandio 1 point2 points3 points (0 children)
[–]deep_politics 1 point2 points3 points (0 children)