Algorithms Patterns
pattern
category
platform
- LeetCode 79. Word Search
LeetCode problem 79
- Pr1 1+N
중단점: 총합이 10이면 결과에 추가
- Arrow
비교를 위해 알아야 하는 거
- Bfs
1,2차원 배열에 따라 다름
- Gamemap
Prg1 Gamemap
- Dfs
재귀 함수 사용하는 dfs
- LeetCode 130. Surrounded Regions
LeetCode problem 130
- LeetCode 94. Binary Tree Inorder Traversal
LeetCode problem 94
- Network Dfs
Prg2 Network Dfs
- LeetCode 5. Longest Palindromic Substring
LeetCode problem 5
- Container With Most Water
두 노드 간의 거리와 노드 데이터로 가장 큰 사각형 넓이 구하기.
- Race
programmers 달리기 문제
- Discount
Prg3 Discount
- Best Music
베스트 앨범 문제
- Report
Prg7 Report
- 연습1 두수더하기
* 문제: arr의 두 수를 더하여 target을 만들 수 있다면 true를 반환, 아니면 false를 반환 * arr은 최대 10^4 O(n) * *
- 연습2 문자열비교
* 문제: queryList가 strList에 있다면 true를 반환, 아니면 false를 담아 배열로 반환 * arr은 최대 10^4 O(n) * *
- Min Heap
size 0 시 null 반환
- 양방향 공문제
양방향 공문제
- Reverse Integer
10진수 뒤집기. 수학적 접근
- Queue
Queue
- LeetCode 3. Longest Substring Without Repeating Characters
LeetCode problem
- LeetCode 4. Median of Two Sorted Arrays
LeetCode problem 4
- Linked List - LeetCode 2. Add Two Numbers
LeetCode problem
- Pokemon
Prg1 Pokemon
- Words
Prg2 Words
- Phone Book
Prg3 Phone Book
- Students
여벌 나눔 계산
- Islands
parent 배열에서 루트 노드를 찾는 함수
- Reverse Integer
10진수 뒤집기. 수학적 접근
- [LeetCode] 456. 132 Pattern (132 패턴)
배열에서 특정 패턴을 찾는 스택 기반 알고리즘 문제
- Stack
Stack
- 최소값 스택 구현하기
O(1) 시간 복잡도로 최소값을 조회할 수 있는 스택 구현
- [LeetCode] 316. Remove Duplicate Letters (중복 문자 제거)
- Pr1 Rotateclock
배열 arr이 주어질 시 시계방향으로 n번 회전하는 함수
- Pr2 Matrix Multiply
Pr2 Matrix Multiply
- Pr3 Snail
n을 입력받아 달팽이처럼 1~n까지 숫자가 채워진
- Binary
Prg1 Binary
- Longest Common Prefix
가장 긴 접두사. 행렬의 수직 탐색과 최적화에 대한 고민
- Zigzag Conversion
행렬 기반의 문자 데이터 처리하기. 2회차 완
- Tree
이진 트리 기본 구현체
- Practice1 Making Tree
이진 트리를 전/중/후위 순회하기
- Pyramid Scheme
프로그래머스 다단계 판매
- Maze
console.log(`result : /n`, solution(test1A));