간단한 블로그

  • 홈
  • 태그
  • 방명록

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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

  2025. 08  
일 월 화 수 목 금 토
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.

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.