Skip to content

[Leo] 14th Week solutions #212

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

Merged
merged 1 commit into from
Aug 4, 2024
Merged

[Leo] 14th Week solutions #212

merged 1 commit into from
Aug 4, 2024

Conversation

leokim0922
Copy link
Contributor

No description provided.

@leokim0922 leokim0922 marked this pull request as draft August 2, 2024 08:16
Comment on lines +6 to +7
if not matrix:
return []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 <= m, n <= 200

nit: 문제에 위와 같은 제한사항이 주어졌으니 이러한 검사는 불필한 것 같습니당~

Comment on lines +5 to +6
res.extend(matrix.pop(0))
matrix = [*zip(*matrix)][::-1]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boom-mind-blown-gif

@@ -0,0 +1,6 @@
class Solution:
def getSum(self, a: int, b: int) -> int:
return add(a,b)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

파이썬에 이런 내장 함수도 있었던가요? 😆

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵..ㅋㅋ 조금 사기성이 짙은 솔루션이지만요 🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앗.. 다시 찾아보니 이거 빌트인이 아니네요! 리트코드가 어지간한 모듈을 이미 임포트 해놔서 제가 아무생각없이 써버렸네요 ㅠㅠㅋㅋ

@leokim0922 leokim0922 marked this pull request as ready for review August 4, 2024 01:19
@leokim0922 leokim0922 merged commit d7e7f8a into DaleStudy:main Aug 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants