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 | 31 |
Tags
- 자료구조
- dfs
- LinkedList
- heap
- Two Pointers
- A* Algorithm
- Leedcode
- graph
- sorting
- Medium
- Easy
- BFS
- stack
- Bellman-Ford
- Java
- greedy
- hash
- 광연자동차운전면허학원
- hash table
- leetcode
- SinglyLinkedList
- ArrayList vs LinkedList
- Union Find
- VCS
- python3
- DailyLeetCoding
- 구현
- Hashtable
- array
- String
Archives
- Today
- Total
목록binary search (1)
Min IT's Devlog
풀이 일자: 23.04.02 난이도: [Medium] 분류: [Array, Two Pointers, Binary Search, Sorting] 문제 내용 문제의 내용은 정수가 담긴 2개의 배열이 주어지고 이 배열들 간의 이루어질 수 있는 원소들간의 곱이 success라고 하는 기준점 이상인 경우를 count해서 spells 기준으로 가능한 경우의 수를 리턴하는 문제이다. spells = [5,1,3], potions= [1,2,3,4,5], success = 7 spells = 5 => [5,10,15,20,25] # successful 횟수는 4 spells = 1 => [1,2,3,4,5] # successful 횟수는 0 spells = 3 => [3,6,9,12,15] # successful 횟수..
코테/LeetCode(Solve)
2023. 4. 2. 19:45