• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

argorithm

[TIL]_Code Kata (#7)

🌀 문제 숫자로 이루어진 배열인 nums를 인자로 전달합니다. 숫자중에서 과반수(majority, more than a half)가 넘은 숫자를 반환해주세요. 예를 들어, ➡️ 처음에 나는 숫자들 중에서 가장 많이 들어온 숫자를 반환하라고 잘못 이해했었다. 하지만 문제는 배열 안에 들어온 총 숫자들의 갯수에서 과반수가 넘어야 한다였다. 🤯 내가 작성한 코드 👉 내가 작성한 코드로 돌렸을 경우...

argorithm문제해결능력codekataargorithm

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more