Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The concept of greedy algorithms, a technique for solving optimization problems, and provides examples of its application in activity selection and huffman codes. Greedy algorithms involve making locally optimal choices to reach a globally optimal solution. The activity selection problem, where the goal is to schedule a set of activities with no conflicts, and the huffman codes problem, where the goal is to create an optimal prefix code for a sequence of characters. The document also includes pseudocode for the greedy activity selector and huffman algorithms.
Typology: Study notes
1 / 4
Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved