Skip to content

[Leo] 5th Week solutions #105

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 3 commits into from
Jun 2, 2024
Merged

[Leo] 5th Week solutions #105

merged 3 commits into from
Jun 2, 2024

Conversation

leokim0922
Copy link
Contributor

No description provided.

@leokim0922 leokim0922 marked this pull request as draft May 30, 2024 07:30
@leokim0922 leokim0922 marked this pull request as ready for review May 31, 2024 08:56
Copy link
Member

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

수고하셨어용!

def topKFrequent(self, nums: List[int], k: int) -> List[int]:

num_dict = collections.Counter(nums)
freq = num_dict.most_common()
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.

파이썬은 사랑입니다 🤣

@DaleSeo DaleSeo merged commit bff493a into DaleStudy:main Jun 2, 2024
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.

2 participants