Recursion, Backtracking and Dynamic Programming in Java
Description
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!
Popular Online Courses
Beginning C++ Programming - From Beginner to Beyond
Obtain Modern C++ Object-Oriented Programming (OOP) and STL ...
Pre-Programming: Everything you need to know before you code
Increase your chance of success learning to code and communi...
Learn Python Programming Masterclass
This Python For Beginners Course Teaches You The Python Lang...
Java Masterclass 2025: 130+ Hours of Expert Lessons
Gain real-world experience with OOP, coding exercises, and p...
Introduction to Programming
Professional Coding Skills for Beginners...
Complete C# Masterclass
Master C# Programming from A to Z. Dive deep into .NET, OOP,...
[NEW] Python Bootcamp: Beginner to Master Programming
Beginner to Python Programming? Get FREE access to 200+ Pyth...
C Programming Bootcamp - The Complete C Language Course
C Programming 2024: Master the Fundamentals of C Programming...
Learn JAVA Programming - Beginner to Master
Deep Dive in Core Java programming -Standard Edition. A Prac...
Python Programming for the Total Beginner
A Hands-On Python Masterclass, With Real Life Examples, Codi...
Learn C++ Programming -Beginner to Advance- Deep Dive in C++
Classroom and Hands-on sessions- Features of C++ 11 , Except...
Learn Programming - An Introduction For Non-Programmers
Learn how to write your own computer programs. This course i...
Introduction to Computer Programming for Beginners
Learn the basic principles of Computer Programming and get s...
Computer Science 101: Master the Theory Behind Programming
Computer Science 101: Learn Computer Science to become a bet...
Java Programming for Complete Beginners
Java Programming for Beginners to Java Object Oriented Progr...
Programming: for REALLY beginners!
Programming should be fun, but can become frustrating when l...
Object Oriented Programming and Design Crash Course
Learn the core features and the best practices of Object Ori...
C Programming Step by Step - Complete Tutorial For Beginners
C language tutorial from basics with C operator,loop,array,p...
R Programming A-Z™: R For Data Science With Real Exercises!
Learn Programming In R And R Studio. Data Analytics, Data Sc...
General Programming Fundamentals
Learn Universal Programming Concepts...