blog

  • 홈
  • 태그

Computer Science/Algorithms 1

순열 (Permutation)

1. 순서가 중요한 완전 탐색에 종종 사용된다. 2. 개수가 고정된 선택 문제를 순열로 바꿔서 풀 수 있다. (조합-Combination으로 활용 가능) (BOJ6603 로또 , https://www.acmicpc.net/problem/6603) # std::next_permutation, std::prev_permutation C++은 std::next_permutation, std::prev_permutation로 사전순(lexicographically ordered)의 다음 순열, 이전 순열을 제공한다. # Time Complexity 한 번 호출하면 O(n), 모든 가능성을 전부 호출하면 Amortized O(1) https://stackoverflow.com/questions/4973077/th..

Computer Science/Algorithms 2020.02.07
1
더보기
  • 분류 전체보기
    • Computer Science
      • Computer System
      • OS
      • Network
      • Database
      • Algorithms
      • ETC
    • Programming
      • C++
      • JavaScript
      • Note
    • DevOps
      • Container
    • Problem Solving
    • Note
      • Projects
    • Clipping

Tag

멘토링, 순열, ps, Algorithms, 책정리, C, 컴구논, BOJ, kmp, c++, 컴퓨터구조,

최근글과 인기글

  • 최근글
  • 인기글

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.

티스토리툴바