-
-
Notifications
You must be signed in to change notification settings - Fork 195
[김한기] Week 5 Solutions #106
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
Conversation
Iteration 설정 부탁드립니다! |
아이고 3문제 밖에 못풀었네요... |
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.
아이고 3문제 밖에 못풀었네요...
하나도 안 푸신 것 보다는 낫죠! 😂
encode-and-decode-strings/han.py
Outdated
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.
이 문제는 Elixir로 해결이 어렵나 보죠?
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.
�아 그건아닌데 어쩌다보니 파이썬으로 풀게되었습니다 ㅎㅎ 근데 다른분들 코드를 보니 제가 특별히 복잡하게 푼것같네요 ㅎㅎ
Enum.frequencies |> | ||
Enum.sort_by(fn {_, v} -> v end, :desc) |> | ||
Enum.take(k) |> | ||
Enum.map(fn {k, _} -> k end) |
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.
Elixir스러운 직관적인 FP 코드네요! 이 문제는 Elixir가 아니더라도 다른 언어를 쓰시는 분들도 이렇게 많이 짜시더라고요 :)
한기님 남은 문제 해당 PR에서 마저 처리하실 예정이신가요 아님 다음 PR로 넘겨서 푸실 예정이신가요 :)? |
아 그건 좀 고민이 필요하네요. 근데 일단 다음 pr로 넘겨서 풀진 않을꺼같고 따로 pr을 하게될꺼같습니다.
2024년 6월 4일 (화) 오후 4:17, Leo Kim ***@***.***>님이 작성:
… 한기님 남은 문제 해당 PR에서 마저 처리하실 예정이신가요 아님 다음 PR로 넘겨서 푸실 예정이신가요 :)?
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYLF3JPYCQUTCQ2HPSHYGTZFVSY3AVCNFSM6AAAAABIR6MU4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWG44DINJQGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
- ***@***.***)
|
No description provided.