Udemy

Recursion, Backtracking and Dynamic Programming in Java

Enroll Now
  • 18,886 Students
  • Updated 9/2025
4.3
(1,630 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
14 Hour(s) 57 Minute(s)
Language
English
Taught by
Holczer Balazs
Rating
4.3
(1,630 Ratings)

Course Overview

Recursion, Backtracking and Dynamic Programming in Java

Competitive Programming with Common Interview Questions (Recursion, Backtracking and Divide and Conquer Algorithms)

This course is about the fundamental concepts of algorithmic problems focusing on recursion, backtracking, dynamic programming and divide and conquer approaches. As far as I am concerned, these techniques are very important nowadays, algorithms can be used (and have several applications) in several fields from software engineering to investment banking or R&D.

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 - BIT MANIPULATION PROBLEMS

  • binary numbers

  • logical operators and shift operators

  • checking even and odd numbers

  • bit length problem

  • Russian peasant multiplication

Section 5 - BACKTRACKING

  • what is backtracking?

  • n-queens problem

  • Hamiltonian cycle problem

  • coloring problem

  • knight's tour problem

  • Sudoku game

Section 6 - DYNAMIC PROGRAMMING

  • what is dynamic programming?

  • knapsack problem

  • rod cutting problem

  • subset sum problem

  • Kadan's algorithm (maximum subarray)

  • longest common subsequence (LCS) problem

Section 7 - OPTIMAL PACKING

  • what is optimal packing?

  • bin packing problem

Section 8 - 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 9 - COMMON INTERVIEW QUESTIONS

  • top interview questions (Google, Facebook and Amazon)

  • anagram problem

  • palindrome problem

  • trapping rain water problem

  • egg dropping problem

  • dutch national flag problem

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.)

Thanks for joining the course, let's get started!

Course Content

  • 15 section(s)
  • 141 lecture(s)
  • Section 1 Introduction
  • Section 2 Recursion
  • Section 3 Recursion Interview Problems
  • Section 4 Search Algorithms
  • Section 5 Selection Algorithms
  • Section 6 Bit Manipulation Problems
  • Section 7 Backtracking
  • Section 8 Backtracking Interview Problems
  • Section 9 Dynamic Programming
  • Section 10 Optimal Packing Problem
  • Section 11 Divide and Conquer Methods
  • Section 12 INTERVIEW QUESTIONS (Amazon, Facebook, Google)
  • Section 13 Next Steps
  • Section 14 Appendix #1 - Complexity Theory
  • Section 15 Course Materials (DOWNLOADS)

What You’ll Learn

  • Understand recursive approaches, Understand backtracking, Understand dynamic programming, Understand divide and conquer methods, Implement 15+ algorithmic problems from scratch, Improve your problem solving skills and become a stronger developer


Reviews

  • A
    Asif Kamal
    3.0

    Need to pause in-between explanations

  • S
    Samat Abibulla
    1.0

    Important and usefull topics are chosen. However I have to say that the way he explains them is really bad. Especially the coding part. I took many other courses such this, and I think if you want to teach someone to code non-trivial algorithms, then you have to write clean and readable code. With my 10 years of coding experience, I can say his coding skill is not good enough to teach other people (it's only my personal opinion). Also, before jumping to coding part of any algo, first give clear explanation of algo with proper visualization. It really helps when you do coding part. I had a feeling that this guy is very limited in time, and he speaks so fast (although I did not speed up the videos), shows some slides (useless?), and says "Okay, let me write some ugly code so you will have even more questions than you have now", very bad teaching style, another thing to mention is coding exercises, am I the only one who found them a bit stupid? for some of them I can see that the method skeletons do not match the requirements, and you start to think "okay, wtf is this? what do you want me to code?", unfortunately that is my honest review

  • D
    Dattatray Gujar
    5.0

    Good

  • G
    Gang Ferdinand Dinga
    5.0

    Clear explanations

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed