Udemy

Recursion, Backtracking and Dynamic Programming in Python

立即報名
  • 11,646 名學生
  • 更新於 9/2025
4.6
(929 個評分)
CTgoodjobs 嚴選優質課程,為職場人士提升競爭力。透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期
全年招生
課程級別
學習模式
修業期
15 小時 45 分鐘
教學語言
英語
授課導師
Holczer Balazs
評分
4.6
(929 個評分)
16次瀏覽

課程簡介

Recursion, Backtracking and Dynamic Programming in Python

Learn Competitive Programming, Recursion, Backtracking, Divide and Conquer Methods and Dynamic Programming in Python

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?

  • Hoare's algorithm

  • 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

  • maze problem

  • Sudoku problem

Section 6 - DYNAMIC PROGRAMMING

  • what is dynamic programming?

  • knapsack problem

  • rod cutting problem

  • subset sum problem

  • Kadane's algorithm

  • 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 - Substring Search Algorithms

  • substring search algorithms

  • brute-force substring search

  • Z substring search algorithm

  • Rabin-Karp algorithm and hashing

  • Knuth-Morris-Pratt (KMP) substring search algorithm

Section 10 - COMMON INTERVIEW QUESTIONS

  • top interview questions (Google, Facebook and Amazon)

  • anagram problem

  • palindrome problem

  • integer reversion problem

  • dutch national flag problem

  • trapping rain water problem

Section 11 - Algorithms Analysis

  • how to measure the running time of algorithms

  • running time analysis with big O (ordo), big Ω (omega) and big θ (theta) notations

  • complexity classes

  • polynomial (P) and non-deterministic polynomial (NP) algorithms

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

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

課程章節

  • 15 個章節
  • 133 堂課
  • 第 1 章 Introduction
  • 第 2 章 Environment Setup
  • 第 3 章 Recursion
  • 第 4 章 Search Algorithms
  • 第 5 章 Selection Algorithms
  • 第 6 章 Bit Manipulation Problems
  • 第 7 章 Backtracking
  • 第 8 章 Dynamic Programming
  • 第 9 章 Optimal Packing Problem
  • 第 10 章 Divide and Conquer Algorithms
  • 第 11 章 Substring Search Algorithms
  • 第 12 章 COMMON INTERVIEW QUESTIONS (Amazon, Facebook and Google)
  • 第 13 章 Next Steps
  • 第 14 章 ### APPENDIX - COMPLEXITY THEORY CRASH COURSE ###
  • 第 15 章 Course Materials (DOWNLOADS)

課程內容

  • Understanding recursion, 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


評價

  • S
    S P D
    5.0

    LOVING THIS COURSE !!! Currently in Recursion will update rating again at the end of the course.

  • G
    Gusst Zanna
    5.0

    Awesome!

  • S
    Stsee yeah
    5.0

    The course is well explained and easy to understand. Many of the algorithms are also explained with real world examples. However i wished that the instructor can include more leetcode style questions.

  • H
    Hyunjin Kim
    5.0

    Excellent Lecture. I love all of his lectures. He explains the idea/concept very straight-forwad.

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策使用條款才繼續瀏覽。

我已閱讀及同意