Recursion, Backtracking and Dynamic Programming in Java
9h 46m 17s
English
Paid
Updated September 2026
Recursion, Backtracking and Dynamic Programming in Java is a 82-lesson 9 hours 46 minutes self-paced course by Udemy. Recursion, backtracking, dynamic programming, and divide-and-conquer are the algorithmic techniques that show up again and again, from software engineering interviews to fields like investment banking and R&D.
Course facts
Lessons
82
Duration
9 hours 46 minutes
Level
All levels
Language
English
Updated
2026-09-11
Instructor
Udemy
Price
Premium
Recursion, backtracking, dynamic programming, and divide-and-conquer are the algorithmic techniques that show up again and again, from software engineering interviews to fields like investment banking and R&D. This course goes through each one in Java, working problem by problem rather than staying abstract.
What's covered
Recursion: stack vs. heap memory, stack overflow, Fibonacci numbers, factorials, and the Tower of Hanoi
Search and selection algorithms: linear and binary search, quickselect, and the median-of-medians algorithm
Backtracking: the N-Queens problem, Hamiltonian cycles, graph coloring, the Knight's Tour, and Sudoku solving
Dynamic programming: the knapsack problem, rod cutting, and subset sum
Optimal packing: the bin packing problem
Divide and conquer: merge sort and the closest-pair problem
82 lessons total, aimed at developers preparing for technical interviews or wanting a firmer grip on classic algorithmic problem-solving.
Section 1 - RECURSION
what are recursion and recursive methods
stack memory and heap memory overview
what is stack overflow?
Fibonacci numbers
factorial function
tower of Hanoi problem
Section 2 - SEARCH ALGORITHMS
linear search approach
binary search algorithm
Section 3 - SELECTION ALGORITHMS
what are selection algorithms?
how to find the k-th order statistics in O(N) linear running time?
quickselect algorithm
median of medians algorithm
the secretary problem
Section 4 - BACKTRACKING
what is backtracking?
n-queens problem
Hamiltonian cycle problem
coloring problem
knight's tour problem
Sudoku game
Section 5 - DYNAMIC PROGRAMMING
what is dynamic programming?
knapsack problem
rod cutting problem
subset sum problem
Section 6 - OPTIMAL PACKING
what is optimal packing?
bin packing problem
Section 7 - DIVIDE AND CONQUER APPROACHES
what is the divide and conquer approach?
dynamic programming and divide and conquer method
how to achieve sorting in O(NlogN) with merge sort?
the closest pair of points problem
Section 8 - COMMON INTERVIEW QUESTIONS
top interview questions (Google, Facebook and Amazon)
In each section we will talk about the theoretical background for all of these algorithms then we are going to implement these problems together from scratch in Java.
Finally, YOU CAN LEARN ABOUT THE MOST COMMON INTERVIEW QUESTIONS (Google, MicroSoft, Amazon etc.)
Who teaches Recursion, Backtracking and Dynamic Programming in Java? Udemy
Udemy is the largest open marketplace for online courses on the internet. Founded in 2010 by Eren Bali, Oktay Caglar, and Gagan Biyani and headquartered in San Francisco, the company went public on the Nasdaq in 2021 under the ticker UDMY. The platform hosts well over two hundred thousand courses across software development, IT and cloud, data science, design, business, marketing, and creative skills, taught by tens of thousands of independent instructors. Roughly seventy million learners use it worldwide, and the corporate arm — Udemy Business — supplies a curated subset of that catalog to enterprise customers.
Because Udemy is a marketplace rather than a single editorial publisher, the catalog is uneven by design. The strongest material lives in the long-form, project-based courses authored by working engineers — full-stack JavaScript, React, Node.js, Python data science, AWS, Docker and Kubernetes, mobile development with Flutter and React Native, and cloud certification preparation. The CourseFlix listing under this source is the slice of that catalog that has been mirrored here for offline-friendly viewing, organized by topic and updated as new releases land. Pricing on Udemy itself swings dramatically with the site's near-permanent sales, which is why the platform is best treated as a deep reference catalog: pick instructors with strong reviews and a track record of updating their material rather than buying on the headline price alone.
What lessons are included in Recursion, Backtracking and Dynamic Programming in Java?
This is a demo lesson (10:00 remaining)
You can watch up to 10 minutes for free. Subscribe to unlock all 82 lessons in this course and access 10,000+ hours of premium content across all courses.
Enhance your Python skills and boost confidence for technical interviews through mastering algorithms, patterns, and problem-solving in this intensive course.
Nest.js is an incredible backend framework that allows us to build scaleable Nodejs backends with very little complexity. A Microservice architecture is a popul
Brand new HTML & CSS course, just released in February 2023 Check out the promo video to see the beautiful, responsive projects we build in this course!
Watch the 100 Days of Code Python Pro Bootcamp free: 100 daily projects covering Python basics, web scraping, data science, automation and GUI apps.
58h 35m5/5
Frequently asked questions
What are the prerequisites for this course?
Before enrolling in this course, students should have a basic understanding of Java programming. Familiarity with core concepts like variables, loops, and functions will be beneficial. The course assumes that students have some prior programming knowledge, as it delves into algorithmic concepts such as recursion, backtracking, and dynamic programming.
What is the time commitment required for this course?
The course consists of 82 lessons. While the exact runtime is not specified, students should expect to invest several hours per week to fully understand the material. This includes watching video lessons, practicing coding exercises, and reviewing concepts covered in areas such as recursion, backtracking, and dynamic programming.
What types of projects will I work on in this course?
Students will work on implementing various algorithmic problems, such as the Towers of Hanoi, the N-queens problem, the Hamiltonian cycle, and the Knight's tour. These projects are designed to apply the concepts of recursion, backtracking, and dynamic programming, providing practical experience with these complex algorithmic techniques.
What is not covered in this course?
The course does not cover introductory programming topics such as basic syntax or simple data structures in Java. It also does not delve into advanced topics outside the scope of recursion, backtracking, and dynamic programming, such as advanced data structures or machine learning algorithms.
How does this course differ from other algorithm courses?
This course focuses specifically on recursion, backtracking, and dynamic programming, offering detailed implementations of problems like the Sudoku solver and the Knapsack problem. It provides a deep dive into these algorithmic techniques, which may not be covered as extensively in more general algorithm courses.
What are the benefits of learning these techniques for careers?
Understanding recursion, backtracking, and dynamic programming is crucial for careers in fields like software engineering, R&D, and finance. These techniques are fundamental for solving complex computational problems and are widely applicable in areas such as optimization, resource allocation, and artificial intelligence.
What specific tools or platforms will be used in this course?
The course is taught using the Java programming language. Students will engage with various algorithmic problems through Java, leveraging its capabilities to implement and solve recursive, backtracking, and dynamic programming challenges effectively.