Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 시스템콜
- 알고리즘
- substr
- 프로그래머스
- 우선순위큐
- String
- 최대공약수
- Dijkstra
- 코테
- MAP
- sql고득점kit
- 스택
- C++
- 코테준비
- 리시프
- 플로이드와샬
- vector
- 다이나믹프로그래밍
- set
- 코딩테스트연습
- DP
- 다익스트라
- unordered_map
- 동적계획법
- 정렬
- MySQL
- 백준
- 참고 문헌 : MACHINE LEARNING 기계학습 _ 오일석
- dfs
- 문자열
Archives
- Today
- Total
목록전체 글 (74)
YeJin's Footsteps

unordered_map : map과 달리 hash table을 사용해 탐색 속도에 O(1)이상의 시간복잡도를 가짐 * unordered_map과 hash_map은 거의 유사한 stl이지만 hash_map은 다른 이름 공간(stdext)을 가져, unordered_map 사용이 더 나은 것 같음 사용방법 #include using namespace std; unordered_map 변수이름; 변수 이름.insert({key, value}); 프로그래머스-완주하지 못한 선수 https://programmers.co.kr/learn/courses/30/lessons/42576 코딩테스트 연습 - 완주하지 못한 선수 수많은 마라톤 선수들이 마라톤에 참여하였습니다. 단 한 명의 선수를 제외하고는 모든 선수가 마..
Computer Science & Engineering/알고리즘
2021. 5. 2. 15:49
next_permutation(start, end)
#include #include #include using namespace std; void p(char * a, const int m){ do{ copy(a, a+m+1, ostream_iterator(cout," ")); cout
Computer Science & Engineering/알고리즘
2021. 4. 18. 19:38
SelectionSort(선택 정렬)
#include #include #include using namespace std; //선택정렬 template //template void selectSort(T * arr, const int size){ for(int i=0; i
Computer Science & Engineering/알고리즘
2021. 4. 16. 15:17