Recursion, Backtracking and Dynamic Programming in Java

About this course

Requirements

  • Basic Java

Description

This course is about the fundamental concepts of algorithmic problems focusing on recursionbacktracking, 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!

Who this course is for:

  • This course is meant for newbies who are not familiar with algorithmic problems in the main or students looking for some refresher
  • Anyone preparing for programming interviews or interested in improving their problem solving skills

What NomadPro Courses Offer

All-in-One

Access a wide range of software and digital skills courses in one place.

Personalized

AI-powered recommendations to match your learning goals.

Tracking

Monitor your daily progress and achievements.

Simple

User-friendly design that makes learning easy.

Flexible

Tools that adapt to your workflow or brand needs.

Support

Guidance and help from experts whenever you need it.

FAQ

How do I access the courses?

All courses are available 100% online. Once enrolled, you can log in anytime from your computer, tablet, or smartphone.

Yes! Every course includes an internationally recognized certificate you can add to your CV or LinkedIn profile.

Absolutely. NomadPro provides built-in tools to monitor your daily progress and keep you motivated.

Our AI-powered recommendations suggest the courses that best fit your career goals and learning style.

Yes, once you enroll, you keep lifetime access to your course and receive free updates whenever new materials are added.

You’ll have access to expert instructors and our learning community, where you can ask questions and share experiences.

Of course! All courses are self-paced, so you can study whenever it suits your schedule.

93,00 

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

93,00 

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