태그 : greedy 탐욕 algorithm

Greedy Algorithm

참고영상

영상요약 정리

an algorithmic paradigm that follows the problem solving approach of making th locally optimal choice at each stage with the hope of finding a global optimum.

매 선택의 순간마다 논리적으로 최선의 선택을 만드는것이 전체적으로 최선의 결과이길 바라는 알고리즘

greedy-algorithm-ex

그리디 알고리즘으로는 원하는 답을 얻지 못 할 수 있음.

그리디 알고리즘 적용

전체적인 최적은 각 작은 단위별 최적에 의해 도달하게 되는 로직일 경우

◀️ Activity Selection... Queue ▶️
comments powered by Disqus