간단한 블로그

  • 홈
  • 태그
  • 방명록

Scala/Scala Ninety-Nine Problems 11

P26 Scala로 만드는 조합(Combination)

P26 (**) Generate the combinations of K distinct objects chosen from the N elements of a list.In how many ways can a committee of 3 be chosen from a group of 12 people? We all know that there are C(12,3) = 220 possibilities (C(N,K) denotes the well-known binomial coefficient). For pure mathematicians, this result may be great. But we want to really generate all the possibilities.Example:scala> c..

Scala/Scala Ninety-Nine Problems 2017.02.08
이전
1 2
다음
더보기
프로필사진

간단한 블로그

웹 개발자의 짧은 글

  • 분류 전체보기 (105)
    • ECMAScript | TypeScript (26)
    • ETC (22)
    • Java | Android (8)
    • Scala (49)
      • Scala Ninety-Nine Problems (11)
      • Play framework (11)
      • ScalaJS (1)

Tag

pageshow, txtpb, vue.js, react hook, tRPC, 템플릿 엔진, 책을 읽고, api개발, webpack, bfcache, React Deps, protobuf, BeanStalk, aws, 팀간 관계, visibilitychange, 회고, next.js, ELB, 똥글,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바