일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 연결리스트
- 백트래킹
- ADAS
- 인코더
- vue.js
- 프로그래밍
- Android
- hackerrank
- 안드로이드
- stl
- 카카오인코더
- 스프링프레임워크
- 백준
- c++
- BFS
- 스프링
- python3
- TensorFlow
- DP
- spring
- 스프링 프레임워크
- 프로그래머스
- Map
- 머신러닝
- retrofit
- Rebase
- c
- 블로그개설
- git
- Kotlin
- Today
- Total
목록stl (2)
이것저것 공부한 기록
1. Set - 그냥 큰 상자 안에 모든 원소들을 쑤셔 넣은 것이라고 보면 됨. - 원소가 '있나/없나'를 판별할 때 쓰기 좋음 #include using namespace std ; Library : set Namespace : std //선언 set s ; //insert s.insert(10) ; s.insert(20) ; s.insert(50) ; s.insert(40) ; s.insert(40) ; Set 안에는 중복된 원소들이 없다. 또한, iterator를 사용하여 순서대로 출력을 수행할 경우, 크기대로 정렬되어 출력된다. for (auto itr = s.begin(); itr != s.end(); ++itr) cout
https://www.hackerrank.com/challenges/ctci-ransom-note/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=dictionaries-hashmaps Hash Tables: Ransom Note | HackerRank Given two sets of dictionaries, tell if one of them is a subset of the other. www.hackerrank.com Hash / Map stl에 대해서 공부하기 위해 집어든 문제 갯수까지 파악해야한다는 조건을 첨에 못 봐서 문자열을 하나하나 비교하고 있었는데, 6 5 two times t..