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
An overview of various algorithm strategies, including recursive, backtracking, divide and conquer, dynamic programming, greedy, brute force, and heuristic algorithms. Each strategy is explained with examples and use cases. Recursive algorithms reapply the algorithm to subproblems, backtracking algorithms use depth-first recursive search, divide and conquer algorithms divide the problem into smaller subproblems, dynamic programming algorithms remember past results, greedy algorithms make the best local choice at each step, brute force algorithms try all possible solutions, and heuristic algorithms try to guide the search for a solution. The document also covers specific algorithms such as quicksort, mergesort, dijkstra’s shortest path algorithm, kruskal’s minimal spanning tree algorithm, and the traveling salesman problem.
Typology: Exams
1 / 29
Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved