We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
💬 문제
[코딩테스트 연습 - 로또의 최고 순위와 최저 순위](https://school.programmers.co.kr/learn/courses/30/lessons/77484?language=swift)
💬 Idea
💬 풀이
func solution(_ lottos:[Int], _ win_nums:[Int]) -> [Int] { let min = win_nums.filter({ lottos.contains($0 )}).count let max = min + lottos.filter({ $0 == 0 }).count return [max == 0 ? 6 : abs(max - 7), min == 0 ? 6 : abs(min - 7)] }
소요시간 : 10분
소요시간
The text was updated successfully, but these errors were encountered:
#55 - 로또의 최고 순위와 최저 순위 문제 풀이
3eda76f
hwangJi-dev
No branches or pull requests
💬 문제
[코딩테스트 연습 - 로또의 최고 순위와 최저 순위](https://school.programmers.co.kr/learn/courses/30/lessons/77484?language=swift)
💬 Idea
💬 풀이
소요시간
: 10분The text was updated successfully, but these errors were encountered: