CS106B Recursive Backtracking and Enumeration
We will be further exploring recursive backtracking in order to solve more difficult problems that cannot be easily solved with iterative approaches. Lecture Video Prezi Here are the Prezis from today's lecture: Contents 1. Summary and Context: Sequences, Permutations, and Subsets 2. Introduction to Recursive Backtracking 3. Fundamental Backtracking Paradigm: "Choose, Explore, Unchoose" 4. The Basic Anatomy of a Backtracking Algorithm (A Bit More Detail) 5. Generating Subsets with Recursive Backtracking 6. Side Note Regarding the Efficiency of printSubsets() 7. Modifying printSubsets()to Return the Number of Subsets Generated 8. Partitioning with Recursive Backtracking 9. Modified isPartitionable() Function: Tracking our Vector Contents 10. Early Termination in the isPartitionable() Function 11. Side Note: Returning Conditional Expressions from Boolean Functions 12. Side Note: Short-Circuiting 13. What's next? 14. Exam Prep Summary and Context: Sequences, Permutations, and Subsets
CS106B Recursive Backtracking and Enumeration Recursive Backtracking and Enumeration Thursday, July 9 We will be further exploring recursive backtracking in order to solve more difficult problems that cannot be easily solved with iterative approaches. 📚 Readings: Text 9.1-9.3 📝 Lecture quiz on Canvas Prezi Here are the Prezis from today's lecture: Contents 1. Summary and Context: Sequences, Permutations, and Subsets 2. Introduction to Recursive Backtracking 3. Fundamental Backtracking Paradigm: "Choose, Explore, Unchoose" 4. The Basic Anatomy of a Backtracking Algorithm (A Bit More Detail) 5
Explore this link on the map →related reading
- Complete Search with Recursion · USACO Guideusaco.guide
- Reading 14: Recursionweb.mit.edu
- Backtracking - Wikipediaen.wikipedia.org
- Recursive Backtracking · Wiki · CS198 / Documentation / Courses · GitLabcode.stanford.edu
- Competitive Programmer's Handbookcses.fi
- Partitioning to solve Bin Packing Problemsarxiv.org
- CSC 151 - Recursion Over Listseikmeier.sites.grinnell.edu
- How Not to Teach Recursionparentheticallyspeaking.org
- CSC 151 - Tail Recursioneikmeier.sites.grinnell.edu
- Y: The Most Beautiful Idea in Computer Science explained in JavaScriptlucasfcosta.com
- CS106B Backtracking Warmupweb.stanford.edu
- CSC 151 - Coding Challenge 6eikmeier.sites.grinnell.edu