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
- Dijkstra
- dfs
- 알고리즘
- set
- 문자열
- 시스템콜
- 참고 문헌 : MACHINE LEARNING 기계학습 _ 오일석
- String
- 최대공약수
- 동적계획법
- 코테
- 스택
- vector
- substr
- C++
- sql고득점kit
- 프로그래머스
- 우선순위큐
- 정렬
- 코딩테스트연습
- 리시프
- 플로이드와샬
- unordered_map
- 백준
- MySQL
- DP
- 코테준비
- 다이나믹프로그래밍
- 다익스트라
- MAP
Archives
- Today
- Total
목록문자열 (2)
YeJin's Footsteps
숫자 문자열과 영단어
https://programmers.co.kr/learn/courses/30/lessons/81301 코딩테스트 연습 - 숫자 문자열과 영단어 네오와 프로도가 숫자놀이를 하고 있습니다. 네오가 프로도에게 숫자를 건넬 때 일부 자릿수를 영단어로 바꾼 카드를 건네주면 프로도는 원래 숫자를 찾는 게임입니다. 다음은 숫자의 일부 자 programmers.co.kr #include #include #include #include using namespace std; unordered_map m; void make_map(){ m["zero"]="0"; m["one"]="1"; m["two"]="2"; m["three"]="3"; m["four"]="4"; m["five"]="5"; m["six"]="6"; m["..
Computer Science & Engineering/알고리즘
2021. 9. 10. 22:30
문자열 압축
문제 링크 https://programmers.co.kr/learn/courses/30/lessons/60057 코딩테스트 연습 - 문자열 압축 데이터 처리 전문가가 되고 싶은 "어피치"는 문자열을 압축하는 방법에 대해 공부를 하고 있습니다. 최근에 대량의 데이터 처리를 위한 간단한 비손실 압축 방법에 대해 공부를 하고 있는데, 문 programmers.co.kr 문제 풀이 코드 #include #include #include #include using namespace std; int solution(string s) { int len=s.size(); int answer = len; for(int i=1; i
Computer Science & Engineering/알고리즘
2021. 7. 30. 23:34