Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6 Greedy Algorithm #9

Merged
merged 3 commits into from
May 1, 2023
Merged

#6 Greedy Algorithm #9

merged 3 commits into from
May 1, 2023

Conversation

jimin-kiim
Copy link
Owner

  1. Design
  2. Implementation
  3. Analysis
  4. Proof on induction(mostly proved by contradiction)

General Design Approach of Greedy Algorithm

  • Step 1. selection(local optimal choice, ranking)
  • Step 2. feasibility(constraint)
  • Step 3. solution check(termination)

Algorithm Examples of Greedy Algorithm

  • Prim's algorithm
  • Kruskal's algorithm
  • Dijkstra algorithm

Analysis

T(n) = differ by algorithms and data structure

@jimin-kiim jimin-kiim merged commit 80d9c09 into main May 1, 2023
@jimin-kiim jimin-kiim deleted the #6 branch May 1, 2023 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant