Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Algorithms in Python – Full Course for Beginners

via freeCodeCamp


This course on Algorithms in Python aims to teach beginners the basics of algorithms, starting from recursion and progressing to advanced topics like dynamic programming. The course covers segments on simple recursive algorithms, data structures, divide & conquer, greedy algorithms, and dynamic programming. Students will learn skills such as implementing various algorithms, data structures like arrays and linked lists, and problem-solving techniques like merge sort and greedy algorithms. The teaching method includes theoretical explanations, coding challenges, and real-world examples. This course is intended for beginners with little to no prior knowledge of algorithms who are interested in learning Python programming for algorithmic problem-solving.


⌨️ Intro & course overview
⌨️ Factorials refresher
⌨️ CODING CHALLENGE: Factorial program using iteration, recursion
⌨️ What is a permutation?
⌨️ CODING CHALLENGE: Recursive permutation
⌨️ Iterative permutation example
⌨️ 8/N queens problem: theory & explanation
⌨️ Real world example of permutations
⌨️ Lesson recap
⌨️ What are data structures?
⌨️ What is a one-dimensional array?
⌨️ Search & sort
⌨️ CODING CHALLENGE: Linear search
⌨️ Binary search
⌨️ CODING CHALLENGE: Iterative binary search
⌨️ Coding a recursive binary search
⌨️ Bubble sort
⌨️ CODING CHALLENGE: Bubble sort
⌨️ Insertion sort
⌨️ CODING CHALLENGE: Insertion sort
⌨️ Linked lists
⌨️ CODING CHALLENGE: Linked list traverse, search, add, delete, header, nodes, tail
⌨️ Hash tables
⌨️ Lesson recap
⌨️ Divide & conquer algorithm paradigm: uses, benefits and more
⌨️ Merge sort
⌨️ CODING CHALLENGE: An efficient merge sort
⌨️ Getting judged mercilessly on LeetCode
⌨️ Getting Python to do the work for us with sorted
⌨️ Matrix multiplication
⌨️ CODING CHALLENGE: Matrix multiplication
⌨️ Strassen algorithm
⌨️ CODING CHALLENGE: Strassen algorithm
⌨️ Lesson recap
⌨️ What is a greedy algorithm?
⌨️ Assign mice to holes conceptual overview
⌨️ CODING CHALLENGE: Assign mice to holes
⌨️ Fractional knapsack
⌨️ Understanding the fractional knapsack problem with a light-hearted dystopian apocalypse example
⌨️ Coding challenge prep
⌨️ CODING CHALLENGE: Fractional knapsack
⌨️ Egyptians fractions
⌨️ CODING CHALLENGE: Egyptian fractions
⌨️ Lesson recap
⌨️ What is dynamic programming also called DP?
⌨️ What is the principle of optimality?
⌨️ The 3-step process to solving a problem with optimal substructure
⌨️ Introduction to “ugly numbers”
⌨️ CODING CHALLENGE: Ugly numbers
⌨️ Traveling salesman problem TSP
⌨️ CODING CHALLENGE: Traveling salesman problem
⌨️ Palindromic matrix paths
⌨️ CODING CHALLENGE: Palindromic matrix paths
⌨️ Lesson recap
⌨️ Course wrap up and the importance of coding every day

Taught by


Start your review of Algorithms in Python – Full Course for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.