![[코테] 그리디 문제 - 무지의 먹방 라이브](https://cdn.hashnode.com/res/hashnode/image/upload/v1712215455263/1ac1f35a-8862-4e42-8d0c-e2bea01e04c0.png)
[코테] 그리디 문제 - 무지의 먹방 라이브
https://school.programmers.co.kr/learn/courses/30/lessons/42891 효율성 테스트에 신경써야 하는 문제 우선순위 큐를 활용해서 먹는 시간이 짧은 음식부터 큐에서 빼기 import heapq # 우선순위큐 활용: food_time이 짧은 음식부터 삭제 def solution(food_times, k): if sum(food_times) <= k: return -1 ...
![[코테] Bfs 토마토](https://cdn.hashnode.com/res/hashnode/image/upload/v1709032619170/70056896-c857-444b-9c99-45bfcb466806.png)
![[코테] Dfs 문제 유형 - 그래프 내에서 구분하여 카운트 하기](https://cdn.hashnode.com/res/hashnode/image/upload/v1709019361383/b0585d72-c808-4169-83a9-2724f312e927.png)
![[코테] DFS vs BFS](https://cdn.hashnode.com/res/hashnode/image/upload/v1708971211123/71f9386c-6a62-43b2-a602-4d084c24d6cf.png)
![[코테] 여행경로](https://cdn.hashnode.com/res/hashnode/image/upload/v1708971251412/27ce72ed-8ee7-4d13-a02f-ff4bbe50c4be.png)
![[코테] Lis & Lcs](https://cdn.hashnode.com/res/hashnode/image/upload/v1707116316008/69933178-9014-48e1-856a-d9e5a336ba79.png)
![[코테 - Softeer] 출퇴근길](https://cdn.hashnode.com/res/hashnode/image/upload/v1706853194244/1511591b-2929-4047-a900-b681ca71faf8.png)
![[코테] 경우의 수 고려하기 - Dynamic Programming](https://cdn.hashnode.com/res/hashnode/image/upload/v1706770941472/17ada507-6dba-47b2-9cc8-0419bcdecf24.png)
![[코테] 경우의 수 고려하기 - 순열과 조합](https://cdn.hashnode.com/res/hashnode/image/upload/v1706770883960/858cb05f-5459-4134-a873-9ca23c75bea4.png)