-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
Update spiral_print.py #7674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update spiral_print.py #7674
Conversation
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems Stage 3.
and Stage 4.
are the same. Is this intentional?
matrix/spiral_print.py
Outdated
# Other Easy to undersatnd Approach | ||
|
||
|
||
def spiral_traversal(matrix: List[List[int]]) -> List[int]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def spiral_traversal(matrix: List[List[int]]) -> List[int]: | |
def spiral_traversal(matrix: list[list[int]]) -> list[int]: |
Co-authored-by: Caeden Perelli-Harris <[email protected]>
Co-authored-by: Caeden Perelli-Harris <[email protected]>
Co-authored-by: Caeden Perelli-Harris <[email protected]>
Co-authored-by: Caeden Perelli-Harris <[email protected]>
for more information, see https://pre-commit.ci
Please do not ask for reviews when tests are failing (❌ ) because we have ~200 pull requests and this is a volunteer activity. |
Okay I do understand. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
You can run the tests on your machine with
|
yes, will see and resolve, messed in base condition |
After above update on running
|
Describe your change:
Added another neat approach for same question with explaination
Checklist:
Fixes: #{$ISSUE_NO}
.