Data Structures and Algorithms in Python: DSA Course

Master Python DSA for LEETCODE & Technical Interviews | 50-Day Structured Learning Path with 117 Coding Exercises

  • 0.0 (0 Reviews)
  • 0 Students
  • 789 Lessons
  • Jackson Kailath

Course Overview

Looking for the best data structures and algorithms Python course? This structured DSA course is designed for anyone preparing for LEETCODE challenges and technical coding interviews. With 117 hands-on coding exercises spread across 50 structured days, you'll master every essential data structure in Python and algorithm needed to ace your next interview.

Student Testimonials:

  • "Amazing Course" - Erick Odhiambo Otieno

  • "I never seen the best course in this learning platform. It is the best course if you want to understand DSA to the core. you should try it guys. thanks a lot sir for this best course." - Nibru Kefyalew

  • "Great course!" - Shay Keren

  • "Very thorough and methodical" - Shahjamal Biswas

  • "Very intuitive and in-depth! so far" - Nikhil Valse

  • "A good explanation for this problem." - Bhuvan Akoju

  • "So far good explanation on DS ,recursion and quizzes." - Anuradha Yadavalli

  • "the instructor is very good at explaining and simplifying complex concept. this course cover all the DSA module in depth withs great examples" - RODRIGUE NGONGANG

  • "excellent" - Neha Nayak

  • "Awesomly attractive course!" - Dariusz Jenek

  • "Great one" - Wilson Edafe

  • "Excellent Teaching" - Ameeruddin Syed

  • "It is an excellent platform !!" - Subhajit Bera

About the Course:

Welcome to the Data Structures and Algorithms Coding Interview Bootcamp with Python!

The primary goal of this course is to prepare you for coding interviews at top tech companies. By tackling one problem at a time and understanding its solution, you'll accumulate a variety of tools and techniques for conquering any coding interview.

Daily Data Structures and Algorithms Coding Challenges:

The course is structured around daily coding challenges. Consistent practice will equip you with the skills required to ace coding interviews. For the next 40 days commit to yourself to practice atleast 2 coding interview questions everyday. You don't need any setup for this as the daily coding problem challenges can be solved in the coding environment provided by Udemy. The course will automatically track your progress and you just need to spend your time making actual progress everyday.

Topics Covered:

We start from the basics with Big O analysis, then move on to very important algorithmic techniques such as Recursion, Backtracking and Dynamic Programming Patters. After this we move to cover common data structures, and discuss real problems asked in interviews at tech giants such as Google, Meta, Amazon, Netflix, Apple, and Microsoft.

For each question, we will:

  1. Discuss the optimal approach

  2. Explain time and space complexity

  3. Code the solution in Python (you can follow along in your preferred language)

Additional Resources :

The course includes downloadable resources, motivational trackers, and cheat sheets.

Course Outline:


  • Day 1: Arrays, Big O, Sorted Squared Array, Monotonic Array

  • Day 2:Recursion,k-th symbol in Grammar,Josephus problem

  • Day 3:Recursion, Tower of Hanoi, Power Sum

  • Day 4:Backtracking, Permutations, Permutations 2

  • Day 5:Backtracking, Subsets, Subsets 2

  • Day 6:Backtracking, Combinations, Combinations Sum 1

  • Day 7:Backtracking,Combinations Sum 2,Combinations Sum 3

  • Day 8:Backtracking,Sudoku Solver, N Queens

  • Day 9:Dynamic Programming, Fibonacci, Climbing Stairs

  • Day 10:Dynamic Programming, Min Cost Climbing Stairs, Tribonacci

  • Day 11:Dynamic Programming, 01 Knapsack, Unbounded Knapsack

  • Day 12:Dynamic Programming, Target Sum, Partition Equal Subset Sum

  • Day 13:Dynamic Programming, LCS, Edit Distance

  • Day 14:Dynamic Programming, LIS, Max Length of Pair Chain, Russian Doll Envelopes

  • Day 15:Dynamic Programming, Palindromic Substrings, Longest Palindromic Substring, Longest Palindromic Subsequence

  • Day 16:Dynamic Programming, Palindrome Partitioning, Palindrome Partitioning 2

  • Day 17:Dynamic Programming, Word Break, Matrix Chain Multiplication

  • Day 18:Dynamic Programming, Kadane's algorithm - Max Subarray, Maximum Product Subarray

  • Day 19:Greedy Algorithms - Fractional Knpasack, Non overlapping Intervals

  • Day 20:Greedy Algorithms - Jump Game 1, Minimum # of arrows to burst baloons

  • Day 21:Greedy Algorithms - Two City Scheduling, Boats to Save people

  • Day 22:Greedy Algorithms - Task Scheduler, Largest Number

  • Day 23:Greedy Algorithms - Gas Stations,  Jump Game 2

  • Day 24: Arrays, Rotate Array, Container with Most Water

  • Day 25: Hash Tables, Two Sum, Isomorphic Strings

  • Day 26: Strings, Non-Repeating Character, Palindrome

  • Day 27: Strings, Longest Unique Substring, Group Anagrams

  • Day 28: Searching, Binary Search, Search in Rotated Sorted Array

  • Day 29: Searching, Find First and Last Position, Search in 2D Array

  • Day 30: Sorting, Bubble Sort, Insertion Sort

  • Day 31: Sorting, Selection Sort, Merge Sort

  • Day 32: Sorting, Quick Sort, Radix Sort

  • Day 33: Singly Linked Lists, Construct SLL, Delete Duplicates

  • Day 34: Singly Linked Lists, Reverse SLL, Cycle Detection

  • Day 35: Singly Linked Lists, Find Duplicate, Add 2 Numbers

  • Day 36: Doubly Linked Lists, DLL Remove Insert, DLL Remove All

  • Day 37: Stacks, Construct Stack, Reverse Polish Notation

  • Day 38: Queues, Construct Queue, Implement Queue with Stack

  • Day 39: Binary Trees, Construct BST, Traversal Techniques

  • Day 40: Pre order and In order Traversal of Binary Tree - Iterative

  • Day 41: Post Order Traversal Iterative, Path Sum 2

  • Day 42: Construct Binary Tree from Pre and In order Traversal ^ In and Post order Traversal

  • Day 43: Binary Trees, Level Order Traversal, Left/Right View

  • Day 44: Level order Trav 2, ZigZag Traversal

  • Day 45: Vertical order Traversal, Sum root to leaf numbers

  • Day 46: Binary Trees, Invert Tree, Diameter of Tree

  • Day 47: Binary Trees, Convert Sorted Array to BST, Validate BST

  • Day 48: Lowest common Ancestor of BST, Unique BST 2

  • Day 49: Lowest common Ancestor of Binary Tree, Unique BST 1

  • Day 50: Serialize and Deserialize Binary Tree, N-ary Tree Level Order Traversal

  • Day 51: Heaps, Max Heap, Min Priority Queue

  • Day 52: Graphs, BFS, DFS

  • Day 53: Graphs, Number of Connected Components, Topological Sort

  • Day 54: Number of Provinces, Find if path exists in Graph

  • Day 55: Number of Islands, Numbers with same consecutive differences

My confidence in your satisfaction with this course is so high that we offer a complete money-back guarantee for 30 days! Thus, it's a totally risk-free opportunity. Register today, facing ZERO risk and standing to gain EVERYTHING.

So what are you waiting for? Join the best Python Data Structures & Algorithms Bootcamp on Udemy.

I'm eager to see you in the course.

Let's kick things off! :-)

Jackson

See more

FAQ

FAQ area empty

Course curriculum

63 chương 789 bài học 7 bài học thử miễn phí
Chương 1 Day 1: Arrays Data Structures and Algorithms
Chương 2 Day 2: Arrays Data Structures and Algorithms
  • Day 2 Goals
  • Coding Interview Q1(Medium): Rotate Array
  • Coding Exercise: Rotate Array
  • Method and Big O analysis
  • PYTHON Code Solution
  • Python Code Method 2
  • Coding Interview Q2(Medium): Container with most water
  • Coding Exercise: Container with most water
  • Method 1 and Big O analysis
  • PYTHON Code Method 1
  • Method 2 and Big O analysis
  • PYTHON Code Method 2
Chương 3 Day 3: Recursion
  • For Quick Reference : Latest Additions to the Course
  • Best Study Technique to prepare for Coding Interviews
  • Day 2 Goals
  • Recursion Basics
  • Recursive Leap of Faith
  • Visualising Recursion
  • Recursion vs Iteration
  • Ways to write Base condition
  • Recurrence relation
  • How to Solve Recursion Questions
  • Recursion Approaches - 0 to N and N to 0
  • Recursion is everywhere
  • Complexity Analysis of Recursive Solutions
  • Quiz: Recursion
  • CODING INTERVIEW QUESTION (Medium): k-th symbol in Grammar
  • Coding Exercise (k-th symbol in Grammar)
  • Approach(k-th symbol in Grammar)
  • Pseudocode (k-th symbol in Grammar)
  • Complexity Analysis(k-th symbol in Grammar)
  • Python Solution (k-th symbol in Grammar)
  • Quiz - k-th symbol in Grammar
  • CODING INTERVIEW QUESTION (Medium): Josephus problem
  • Coding Exercise: Josephus problem
  • Approach 1
  • Pseudocode
  • Complexity Analysis
  • Python Solution 1: Josephus problem Method 1
  • Quiz - Josephus problem Method 1
  • Approach 2
  • Pseudocode
  • Complexity Analysis
  • Python Solution 2 : Josephus problem Method 2
  • Quiz - Josephus problem Method 2
  • Approach 3
  • Complexity Analysis
  • Python Solution 3 : Josephus problem Method 3
  • Quiz - Josephus problem Method 3
  • Celebrating Milestones
Chương 4 Day 4: Recursion Continued
  • Day 3 Goals
  • CODING INTERVIEW QUESTION (Medium): Tower of Hanoi
  • Coding Exercise(Tower of Hanoi)
  • Identifying that wew can use Recursion
  • Approach
  • Recursion Tree
  • Python Solution : Tower of Hanoi
  • Complexity Analysis : Tower of Hanoi
  • CODING INTERVIEW QUESTION(Medium): Power Sum
  • Coding Exercise: Power Sum
  • Method and Big O Analysis
  • Python Solution: Power Sum
  • Celebrating Milestones
Chương 5 Day 5: Backtracking
  • Day 4 Goals
  • What is Backtracking
  • How is it different from Recursion ?
  • How does Backtracking work ?
  • Pass by reference / change inplace
  • Blueprint to solve questions using Backtracking
  • Identify when to use Backtracking
  • Quiz: Backtracking
  • CODING INTERVIEW QUESTION (Medium): Permutations
  • Coding Exercise ( Permutations)
  • Approach
  • Pseudocode
  • Python Solution : Permutations
  • Complexity Analysis
  • CODING INTERVIEW QUESTION(Medium): Permutations 2
  • Permutations 2
  • Approach
  • Pseudocode
  • Python Code: Permutations 2
  • Complexity Analysis : Permutations 2
  • Celebrating Milestones
Chương 6 Day 6: Backtracking
  • Day 5 Goals
  • CODING INTERVIEW QUESTION(Medium): Subsets
  • Subsets
  • Method
  • Subsets - Comparison with Backtracking Blueprint
  • Subsets - Complexity Analysis
  • Python Code - Subsets
  • CODING INTERVIEW QUESTION(Medium): Subsets 2
  • Coding Exercise: Subsets 2
  • Approach
  • Python Code: Subsets 2
  • Subsets 2: Complexity Analysis
  • Celebrating Milestones
Chương 7 Day 7: Backtracking
  • Day 6 Goals
  • CODING INTERVIEW QUESTION(Medium): Combinations
  • Coding Exercise: Combinations
  • Approach
  • Combinations : Complexity Analysis
  • Python Code : Combinations
  • Combinations: Optimisation
  • Python Code: Combinations with Optimisation
  • CODING INTERVIEW QUESTION ( Medium) : Combinations Sum 1
  • Combinations Sum 1
  • Approach
  • Complexity Analysis part 1
  • Sidenote: Max number of nodes
  • Complexity Analysis part 2
  • Python Code: Combinations Sum 1
  • Celebrating Milestones
Chương 8 Day 8: Backtracking
  • Day 7 Goals
  • CODING INTERVIEW QUESTION (Medium): Combinations Sum 2
  • Coding Exercise: Combinations Sum 2
  • Approach
  • Complexity Analysis
  • Python Code: Combination Sum 2
  • CODING INTERVIEW QUESTION ( Medium) : Combinations Sum 3
  • Coding Exercise: Combinations Sum 3
  • Combination Sum 3 - Short explanation
  • Celebrating Milestones
Chương 9 Day 9: Backtracking
  • Day 8 Goals
  • CODING INTERVIEW QUESTION(Hard) : Sudoku Solver
  • Sudoku Solver
  • Approach
  • Pseudocode
  • IsValid check for Sudoku Solver
  • Python Code : Sudoku Solver
  • Complexity Analysis
  • Another approach - Sudoku Solver ( Python Code)
  • CODING INTERVIEW QUESTION(Hard): N Queen
  • Coding Exercise: N Queen
  • Approach
  • Pseudocode
  • Python Code: N Queen
  • Complexity Analysis
Chương 10 Day 10: Dynamic Programming
  • Day 9 Goals
  • Introduction to Dynamic Programming (DP)
  • Dynamic Programming - Patterns
  • Approach to solve DP(Dynamic Programming) Questions
  • Why writing the Recursive solution helps to write the Bottom up approach
  • Identifying Dynamic Programming Questions
  • Quiz: Dynamic Programming
  • CODING INTERVIEW QUESTION(Easy): Fibonacci
  • Coding Exercise: Fibonacci
  • Approaches
  • Approach 1: Recursion
  • Complexity Analysis: Approach 1 - Recursion
  • Python Code - Recursion
  • Approach 2: Memoization
  • Complexity Analysis : Approach 2 - Memoization
  • Python Code: Approach 2 - Memoization
  • Approach 3: Tabulation
  • Complexity Analysis: Approach 3 - Tabulation
  • Python Code: Approach 3 - Tabulation
  • Approach 4: Space Optimised Tabulation + Complexity Analysis
  • Python Code: Approach 4 -Space Optimised Tabulation + Complexity Analysis
  • CODING INTERVIEW QUESTION(Easy): Climbing Stairs
  • Coding Exercise: Climbing Stairs
  • Approach
Chương 11 Day 11: Dynamic Programming Type - Fibonacci
  • Day 10 Goals
  • CODING INTERVIEW QUESTION(Easy): Min Cost Climbing Stairs
  • Coding Exercise: Minimum Cost Climbing Stairs
  • Recursive Approach
  • Complexity Analysis
  • Python Code: Recursive Approach
  • Memoization Approach
  • Complexity Analysis
  • Python Code: Memoization Approach
  • Tabulation Approach
  • Complexity Analysis
  • Python Code: Tabulation Approach
  • CODING INTERVIEW QUESTION(Easy): Tribonacci
  • Coding Exercise: Tribonacci
Chương 12 Day 12: Dynamic Programming Type - Knapsack
  • Day 11 Goals
  • CODING INTERVIEW QUESTION(Medium): 0/1 Knapsack
  • Coding Exercise: 01 Knapsack
  • Approach 1: Recursion
  • Recursive Approach: Pseudocode
  • Recursive Approach: Complexity Analysis
  • Python Code : Recursive Approach
  • Approach 2: Memoization
  • Memoization: Pseudocode
  • Python Code: Memoization
  • Memoization: Complexity Analysis
  • Approach 3: Tabulation
  • Python Code: Tabulation
  • Tabulation: Complexity Analysis
  • Approach 4: Space Optimised Tabulation Approach
  • Python Code: Space Optimised Tabulation
  • Space Optimised Tabulation Approach: Complexity Analysis
  • CODING INTERVIEW QUESTION(Medium): Unbounded Knapsack
  • Coding Exercise: Unbounded Knapsack
  • Tabulation Approach
  • Complexity Analysis
  • Python Code: Unbounded Knapsack
Chương 13 Day 13: Dynamic Programming Type - Knapsack
  • Day 12 Goals
  • CODING INTERVIEW QUESTION(Medium): Target Sum
  • Coding Exercise: Target Sum
  • CODING INTERVIEW QUESTION(Medium): Partition Equal Subset Sum
  • Coding Exercise: Partition Equal Subset Sum
Chương 14 Day 14: Dynamic Programming Type - LCS ( Longest Common Subsequence)
  • Day 13 Goals
  • CODING INTERVIEW QUESTION(Medium): LCS
  • Coding Exercise: LCS ( Longest Common Subsequence)
  • Approach 1: Recursion
  • Pseudocode
  • Recursion Tree and Complexity Analysis
  • Python Code: LCS
  • Approach 2: Memoization
  • Python Code: Memoization - LCS
  • Approach 3: Tabulation
  • Tabulation: Complexity Analysis
  • Python Code : Tabulation - LCS
  • Approach 4: Space Optimised Tabulation - LCS
  • Python Code : Space Optimised Tabulation - LCS
  • CODING INTERVIEW QUESTION(Medium): Edit Distance
  • Coding Exercise: Edit Distance
  • Identifying this as an LCS Type Question
  • Approach 1: Recursion
  • Pseudocode
  • Recursion: Complexity Analysis
  • Python Code: Recursive Approach(Edit Distance)
  • Approach 2: Memoization
  • Python Code: Memoization(Edit Distance)
  • Approach 3: Tabulation
  • Tabulation: Complexity Analysis
  • Python Code: Tabulation (Edit Distance)
  • Approach 4: Space Optimised Tabulation
  • Python Code: Space Optimised Tabulation ( Edit Distance)
Chương 15 Day 15: Dynamic Programming Type - LIS ( Longest Increasing Subsequence)
  • Day 14 Goals
  • CODING INTERVIEW QUESTION(Medium): Longest Increasing Subsequence (LIS)
  • Coding Exercise: LIS
  • Approach 1: Recursion - LIS
  • Recursion Tree
  • Complexity Analysis - Recursion - LIS
  • Python Code - Recursion - LIS
  • Approach 2: Memoization
  • Complexity Analysis - Memoization
  • Python Code - Memoization - LIS
  • Approach 3: Tabulation - using a 2D dp array
  • Dry run
  • Complexity Analysis - Tabulation - using a 2D dp array
  • Python Code - Tabulation using a 2D dp array - LIS
  • Approach 4: Tabulation - using a 1D dp array
  • Dry run
  • Complexity Analysis- Tabulation - using a 1D dp array
  • Python Code-Tabulation - using a 1D dp array
  • Approach 5: using Binary Search - LIS
  • Part 1 - Approach 5: using Binary Search - LIS
  • Part 2 - Approach 5: using Binary Search - LIS
  • Binary Search for this question ( refer Binary Search section for more details)
  • Complexity Analysis - Approach 5: using Binary Search - LIS
  • Python Code - Approach 5: using Binary Search - LIS
  • CODING INTERVIEW QUESTION(Medium): Max Length of Pair Chain
  • Coding Exercise: Max Length of Pair Chain
  • Why Sort ?
  • Approach
  • Complexity Analysis
  • Python Code - Max Length of Pair Chain
  • CODING INTERVIEW QUESTION(Hard): Russian Doll Envelopes
  • Coding Exercise: Russian Doll Envelopes
  • Approach
  • Complexity Analysis
  • Python Code
  • Python Code - using Binary Search variant for LIS
Chương 16 Day 16: Dynamic Programming Type - Gap Strategy / Length wise Iteration
  • Day 15 Goals
  • Introduction to Gap Strategy or Length wise Iteration
  • CODING INTERVIEW QUESTION(Medium): Palindromic Substrings
  • Palindromic Substrings
  • Intuition for Approach
  • Idetifying this as a DP question
  • Approach: Recursion with memoization
  • Pseudocode
  • Filling the Memoization table
  • Iterate length wise
  • Recursion with memoization: Complexity analysis
  • Python Code: Recursion with memoization
  • Tabulation approach
  • Tabulation approach: Complexity Analysis
  • Python Code: Tabulation
  • CODING INTERVIEW QUESTION(Medium): Longest Palindromic Substring
  • Coding Exercise: Longest Palindromic Substring
  • Approach (Tabulation)
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION(Medium): Longest Palindromic Subsequence
  • Coding Exercise: Longest Palindromic Subsequence
  • Approach
  • Complexity Analysis
  • Python Code
Chương 17 Day 17: Dynamic Programming Type - Partition Method
  • Day 16 Goals
  • Introduction to the Partition method
  • CODING INTERVIEW QUESTION(Medium): Palindrome Partitioning
  • Coding Exercise: Palindrome Partitioning
  • Approach
  • Pseudocode
  • Side note: Computing n C r
  • Complexity Analysis
  • Python Code: Palindrome Partitioning
  • CODING INTERVIEW QUESTION(Hard):Palindrome Partitioning 2 ( Minimum Cuts) - Hard
  • Coding Exercise: Palindrom Partitioning 2 ( Min Cuts)
  • Approach 1: Recursion
  • Python Code: Recursion - Palindrome Partitioning 2
  • Approach 2: Memoization
  • Python Code: Memoization - Palindrome Partitioning 2
  • Tabulation - Approach A : Palindrome Partitioning 2
  • Dry Run
  • Pseudocode
  • Python Code : Tabulation - Approach A : Palindrome Partitioning 2
  • Complexity Analysis
  • Tabulation - Approach B : Palindrome Partitioning 2
  • Dry run
  • Pseudocode
  • Python Code: Tabulation - Approach B : Palindrome Partitioning 2
  • Complexity Analysis
Chương 18 Day 18: Dynamic Programming Type - Partition Method
  • Day 17 Goals
  • CODING INTERVIEW QUESTION(Medium): Word Break
  • Coding Exercise: Word Break
  • Approaches
  • Approach 1: Tabulation
  • Pseudocode
  • Complexity Analysis
  • Python Code
  • APPROACH 2 : Part A : Memoization
  • Pseudocode
  • Complexity Analysis
  • Python Code - Recursion
  • Python Code- Memoization
  • APPROACH 2: Part B: Tabulation
  • Pseudocode
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION(Hard): Matrix Chain Multiplication
  • Coding Exercise: Matrix Chain Multiplication
  • How to do Matrix Multiplication
  • Back to the Question
  • Intuition
  • Recursive approach
  • Recursive Approach - Pseudocode
  • Complexity Analysis
  • Python Code - Recursive approach
  • Memoization approach
  • Complexity Analysis
  • Python Code - Memoization
  • Tabulation Approach
  • Complexity Analysis
  • Python Code - Tabulation Approach
Chương 19 Day 19: Dynamic Programming Type - Kadane's Algorithm
  • Day 18 Goals
  • CODING INTERVIEW QUESTION (Medium): Max Subarray
  • Coding Exercise: Max Subarray
  • CODING INTERVIEW QUESTION (Medium): Maximum Product Subarray
  • Coding Exercise: Maximum Product Subarray
Chương 20 Day 20 - Greedy Algorithms
  • What is a Greedy Algorithm ?
  • What are Greedy Algorithms used for ?
  • What problems are suitable for Greedy Algorithms ?
  • How the 2 properties interact with each other (Optional)
  • Greedy Approach vs Dynamic Programming
  • Quiz - Greedy
  • CODING INTERVIEW QUESTION : Fractional Knapsack
  • Coding Exercise : Fractional Knapsack
  • Approach
  • Pseudocode
  • Complexity Analysis
  • Python Code - Fractional Knapsack
  • Quiz - Fractional Knpasack
  • CODING INTERVIEW QUESTION: Non overlapping Intervals
  • Coding Exercise: Non overlapping Intervals
Chương 21 Day 21 - Greedy Algorithms
  • CODING INTERVIEW QUESTION: Jump Game 1
  • Coding Exercise: Jump Game 1
  • Approach
  • Greedy Approach 1
  • Greedy Approach 2
  • Complexity Analysis
  • Python Code (Greedy Approach) - Jump Game 1
  • Python Code - For Dynamic Programming approaches
  • CODING INTERVIEW QUESTION: Minimum # of arrows to burst baloons
  • Coding Exercise: Minimum # of arrows to burst baloons
Chương 22 Day 22 - Greedy Algorithms
  • CODING INTERVIEW QUESTION: Two City Scheduling
  • Coding Exercise: Two City Scheduling
  • Approach
  • Pseudocode
  • Complexity Analysis
  • Python Code - Greedy Approach
  • Python Code - Dynamic Programming
  • Quiz - Two City Scheduling
  • CODING INTERVIEW QUESTION: Boats to Save people
  • Coding Exercise: Boats to Save people
Chương 23 Day 23 - Greedy Algorithms
  • CODING INTERVIEW QUESTION: Task Scheduler
  • Coding Exercise: Task Scheduler
  • Approach
  • Pseudocode
  • Complexity Analysis
  • Python Code
  • Quiz - Task Scheduler
  • CODING INTERVIEW QUESTION: Largest Number
  • Coding Exercise: Largest Number
Chương 24 Day 24 - Greedy Algorithms
  • CODING INTERVIEW QUESTION: Gas Stations
  • Coding Exercise: Gas Stations
  • CODING INTERVIEW QUESTION: Jump Game 2
  • Coding Exercise: Jump Game 2
Chương 25 Day 25: Dictionaries / Hash Tables Data Structures and Algorithms
  • Day 25 Goals
  • Hash Table: Data Structures Crash Course
  • Coding Interview Q1(Easy): Two Sum
  • Coding Exercise: Two Sum
  • Method 1, Big O analysis
  • PYTHON Code
  • Method 2, Big O analysis
  • PYTHON Code
  • Coding Interview Q2(Easy): Isomorphic Strings
  • Coding Exercise: Isomorphic Strings
  • Method and Big O analysis
  • PYTHON Code
Chương 26 Question Pattern: 2 Pointers
  • Introduction to 2 Pointer Pattern
  • CODING INTERVIEW QUESTION: Best Time to Buy and Sell Stock
  • Coding Exercise: Best Time to Buy and Sell Stock
  • Method
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION: Two Sum II
  • Coding Exercise: Two Sum 2
  • Method
  • Complexity Analysis
  • Code
Chương 27 Question Pattern: 2 pointers continued
  • CODING INTERVIEW QUESTION: 3 Sum
  • Coding Exercise: 3 Sum
  • Method 1
  • Complexity Analysis
  • Python Code
  • Method 2
  • Complexity Analysis
  • Python Code
Chương 28 Question Patterns: Sliding Window
  • Introduction to Sliding Window Pattern
  • CODING INTERVIEW QUESTION: Max Avg Subarray I
  • Max Avg Subarray I
  • Method
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION: Repeated DNA Sequence
  • Repeated DNA Sequence
  • Test cases
  • Method 1
  • Complexity Analysis
  • Python Code: Method 1
  • Method 2
  • (Optional) Basics - Converting a number from base 4 to base 10
  • Complexity Analysis
  • Python Code: Method 2
  • Understanding the Polynomial Rolling Hash Technique and the Rabin-Karp Algorithm
Chương 29 Question Patterns: Sliding Window Continued
  • CODING INTERVIEW QUESTION: Sliding Window Maximum
  • Sliding Window Maximum
  • Test Cases
  • SideNote : Deque Data Structure
  • Method - Part 1 (Intuition / Observations)
  • Method - Part 2 (Walkthrough)
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION: Minimum Window Substring
  • Minimum Window Substring
  • Test Cases
  • Method
  • Walkthrough
  • Complexity Analysis
  • Python Code
Chương 30 Question Patterns: Sliding Window Continued
  • CODING INTERVIEW QUESTION: Minimum Size Subarray Sum
  • Min Size Subarray Sum
  • Method
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION: Frequency of the Most Frequent Element
  • Frequency of the Most Frequent Element
  • Method - Part 1
  • Method - Part 2 (Walkthrough)
  • Complexity Analysis
  • Python Code
Chương 31 Day 26 : Strings Data Structures and Algorithms
  • Day 26 Goals
  • Data Structures Crash Course: Strings
  • Coding Interview Q1(Easy): First Non Repeating Character
  • Coding Exercise: First Non Repeating Character
  • Method 1 and Big O analysis
  • PYTHON code
  • Method 2 and Big O analysis
  • PYTHON code
  • Coding Interview Q2(Easy): Is Palindrome ?
  • Coding Exercise: Is Palindrome ?
  • Method 1 and Big O analysis
  • PYTHON code
  • Method 2 and Big O analysis
  • PYTHON code
  • Method 3 and Big O analysis
  • PYTHON code
Chương 32 Day 27: Strings Data Structures and Algorithms
  • Day 27 Goals
  • Coding Interview Q1(Medium): Longest Sub string with Unique characters
  • Coding Exercise: Longest Sub string with Unique characters
  • Method and Big O analysis
  • PYTHON code
  • Coding Interview Q2(Medium): Group Anagrams
  • Coding Exercise: Group Anagrams
  • Method and Big O analysis
  • PYTHON code
Chương 33 Day 28: Searching Algorithms
  • Day 28 Goals
  • Coding Interview Q1 (Easy): Binary Search Algorithm
  • Coding Exercise: Binary Search Algorithm
  • Method and Big O analysis
  • PYTHON Code Iterative
  • PYTHON Code Recursive
  • Coding Interview Q2(Medium): Search in rotated sorted array
  • Coding Exercise: Search in rotated sorted array
  • Method and Big O analysis
  • PYTHON Code
Chương 34 Day 29: Searching Algorithms
  • Day 29 Goals
  • Coding Interview Q1(Medium): Search for range
  • Coding Exercise: Search for range
  • Method and Big O analysis
  • PYTHON Code - Recursive
  • PYTHON Code - Iterative
  • Coding Interview Q2(Medium): Search in Matrix
  • Coding Exercise: Search in Matrix
  • Method and Big O analysis
  • PYTHON code
Chương 35 Day 30: Sorting Algorithms
  • Day 30 Goals
  • Coding Interview Q1: Bubble Sort Algorithm
  • Coding Exercise: Bubble Sort Algorithm
  • Method and Big O analysis
  • Python Code
  • Coding Interview Q2: Insertion Sort Algorithm, Big O analysis
  • Coding Exercise : Insertion Sort Algorithm
  • Python code
  • Insertion sort is a stable sorting Algorithm
Chương 36 Day 31: Sorting Algorithms
  • Day 31 Goals
  • Coding Interview Q1: Selection Sort Algorithm, Big O analysis
  • Coding Exercise: Selection Sort Algorithm
  • Python Code
  • Coding Interview Q2: Merge Sort Algorithm
  • Coding Exercise: Merge Sort
  • Method and Big O analysis
  • Python Code
Chương 37 Day 32: Sorting Algorithms
  • Day 32 Goals
  • Coding Interview Q1: Quick Sort Algorithm
  • Coding Exercise: Quick Sort
  • Optimise Time Complexity
  • Optimise Space Complexity
  • Python Code
  • Coding Interview Q2: Radix Sort Algorithm, Big O analysis
  • Coding Exercise: Radix Sort Algorithm
  • Python Code
Chương 38 Question Pattern: Merge Intervals
  • Introduction to Merge Intervals Coding Interview Question Pattern
  • CODING INTERVIEW QUESTION: Merge Intervals
  • Merge Intervals
  • Method - Part 1
  • Method Part 2 - Walkthrough
  • Complexity Analysis
  • Python Code
  • CODING INTERVIEW QUESTION: Insert Interval
  • Insert Interval
  • Method Part 1
  • Method Part 2 - Walkthrough
  • Complexity Analysis
  • Python Code
Chương 39 Question Pattern: Merge Intervals Continued
  • CODING INTERVIEW QUESTION: Non Overlapping Intervals
  • Non-overlapping Intervals
  • Method Part 1
  • Mathod Part 2 - Walkthrough
  • Method Prat 3 - Why Greedy
  • Complexity Analysis
  • Python Code
Chương 40 Day 33 Singly Linked List Data Structures and Algorithms
  • Day 33 Goals
  • Data Structures Crash Course: Linked Lists
  • Coding Interview Q1(Medium): Design a Singly Linked List
  • Coding Exercise: Design a Singly Linked List
  • Method and Big O analysis
  • Python Code
  • Coding Interview Q2: Remove Duplicates
  • Coding Exercise: Remove Duplicates
  • Method and Big O analysis
  • Python Code
Chương 41 Day 34 Singly Linked List Data Structures and Algorithms
  • Day 34 Goals
  • Coding Interview Q1(Easy): Reverse
  • Coding Exercise: Reverse SLL
  • Method and Big O analysis
  • Python Code
  • Coding Interview Q2(Medium) : Cycle Detection
  • Coding Exercise: Cycle Detection
  • Method and Big O analysis
  • Python Code
  • Proof
Chương 42 Day 35 : Singly Linked List Data Structures and Algorithms
  • Day 35 Goals
  • Coding Interview Q1(Medium): Find duplicate number
  • Coding Exercise: Find duplicate number
  • Method and Big O analysis
  • Python code
  • Coding Interview Q2(Medium): Add 2 numbers
  • Coding Exercise: Add 2 numbers
  • Method and Big O analysis
  • Python code
Chương 43 Day 36 Doubly Linked List Data Structures and Algorithms
  • Day 36 Goals
  • Coding Interview Q1: Remove Node, Insert Node
  • Coding Exercise: Remove Node
  • Method remove
  • Python code: Remove
  • Insert Intro
  • Method Insert
  • Coding Exercise: Insert Node
  • Python code: Insert
  • Coding Interview Q2: Remove Value, Insert at Position in Doubly Linked List
  • Coding Exercise :Remove Value in Doubly Linked List
  • Remove Val Method
  • Python Code
  • Insert at Position
  • Method
  • Coding Exercise: Insert at Position in DLL
  • Python Code
Chương 44 Day 37: Stacks Data Structures and Algorithms
  • Day 37 Goals
  • Data Structures Crash Course: Stacks and Queues
  • Coding Interview Q1: Design a Stack
  • Coding Exercise: Design a Stack (with Linked List)
  • Python Code
  • Coding Interview Q2(Medium): Reverse Polish Notation
  • Coding Exercise: Reverse Polish Notation
  • Method and Big O analysis
  • Python Code
Chương 45 Day 38: Queue Data Structures and Algorithms
  • Day 38 Goals
  • Coding Interview Q1: Design a Queue
  • Coding Exercise: Design a Queue using a Linked List
  • Python Code
  • Coding Interview Q2(Easy) : Queue with Stack
  • Coding Exercise : Queue with Stack
  • Method and Big O analysis
  • Python Code
Chương 46 Day 39: Binary Tree / Binary Search Tree Data Structures and Algorithms
  • Day 39 Goals
  • Data Structures Crash Course: Trees Introduction
  • Theory: Binary Trees 1
  • Proof : height of Balanced Binary tree is floor(log N)
  • Theory: Binary Tree Terminaologies
  • What is a BST - Binary Search Tree
  • Coding Interview Q1: Construct Binary Search Tree,Big O analysis
  • Coding Exercise: Construct Binary Search Tree
  • Python Code
  • Coding Interview Q2 : Traverse - BFS and DFS,Big O analysis
  • Coding Exercise : Traverse - BFS
  • Coding Exercise: Traverse - DFS(post , in and pre - order ) - recursive
  • Python Code - DFS ( Post, In , Pre - Order Traversal of Binary Tree) - Recursive
  • Python Code
Chương 47 Day 40: Binary Tree Traversal (Preorder, Inorder and Postorder- Iteratively)
  • Today's Goal
  • CODING INTERVIEW QUESTION: Pre order Traversal of Binary Tree : Iterative
  • Pre order Traversal : Iterative
  • Approach
  • Complexity Analysis
  • Python Code: Preorder Traversal : Iterative
  • CODING INTERVIEW QUESTION: Inorder Traversal of Binary Tree - Iterative
  • Inorder Traversal with stack
  • Approach
  • Complexity Analysis
  • Python Code - Inorder Traversal of Binary Tree
Chương 48 Day 41: Binary Tree
  • Today's Goal
  • CODING INTERVIEW QUESTION: Post order traversal of Binary Tree - Iterative
  • Post Order Traversal of Binary Tree - Iterative
  • Approach
  • Complexity Analysis
  • Python Code - Postorder Traversal of Binary Tree
  • CODING INTERVIEW QUESTION: Path Sum 2
  • Path Sum 2
  • Approach
  • Complexity Analysis
  • Python Code
Chương 49 Day 42: Binary Trees
  • Today's Goal
  • CODING INTERVIEW Q: Construct Binary Tree from Pre order and In order Traversal
  • Coding Exercise: Construct Binary Tree from Pre order and In order Traversal
  • CODING INTERVIEW Q: Construct Binary Tree from Inorder and Post order traversal
  • Coding Exercise: Construct Binary Tree from Inorder and Post order traversal
Chương 50 Day 43: Binary Tree / Binary Search Tree Data Structures and Algorithms
  • Day 43 Goals
  • Coding Interview Q1(Medium): Level Order traversal
  • Coding Exercise: Instance method, Level Order traversal
  • Insert method
  • Python code
  • Level Order Traversal Method and Big O analysis
  • Python code - Level order traversal
  • Coding Interview Q2(Medium): Left / Right view
  • Coding Exercise: Left / Right view
  • Method and Big O analysis
  • Python code
Chương 51 Day 44 : Binary Tree
  • Today's Goal
  • CODING INTERVIEW QUESTION: Level Order Traversal 2
  • Coding Exercise: Level Order Traversal 2
  • CODING INTERVIEW QUESTION: Binary Tree zig zag level order traversal
  • Coding Exercise: Binary Tree zig zag level order traversal
Chương 52 Day 45: Binary Trees
  • Today's Goal
  • CODING INTERVIEW QUESTION: Vertical order traversal of a Binary Tree
  • Coding Exercise: Vertical order traversal of a Binary Tree
  • CODING INTERVIEW QUESTION: Sum root to leaf numbers
  • Coding Exercise: Sum root to leaf numbers
Chương 53 Day 46: Binary Tree Data Structures and Algorithms
  • Day 46 Goals
  • Coding Interview Q1 (Easy): Invert Binary Tree
  • Iterative method and Big O analysis
  • Python Code: Iterative
  • Recursive method and Big O analysis
  • Python Code: Recursive
  • Coding Interview Q2 (Easy): Diameter of Binary Tree
  • Method and Big O analysis
  • Python Code
Chương 54 Day 47: Binary Search Trees Data Structures and Algorithms
  • Day 47 Goals
  • Coding Interview Q1(Easy): sorted array to BST
  • Method and Big O analysis
  • Python code
  • Coding Interview Q2(Medium) : Valid BST
  • Method and Big O analysis
  • Python Code
Chương 55 Day 48: Binary Trees
  • Today's Goal
  • CODING INTERVIEW QUESTION: Lowest Common Ancestor of a BST
  • Coding Exercise: Lowest Common Ancestor of a BST
  • CODING INTERVIEW QUESTION: Unique BST 2
  • Coding Exercise: Unique BST 2
Chương 56 Day 49: Binary Trees
  • Today's Goal
  • CODING INTERVIEW QUESTION: Lowest Common ancestor of a Binary Tree
  • Coding Exercise: Lowest Common ancestor of a Binary Tree
  • CODING INTERVIEW QUESTION: Unique BST 1
  • Coding Exercise: Unique BST 1
Chương 57 Day 50: Binary Trees / N-ary Trees
  • Today's Goal
  • CODING INTERVIEW QUESTION: Serialize and Deserialize Binary Tree
  • Coding Exercise: Serialize and Deserialize Binary Tree
  • CODING INTERVIEW QUESTION: N-ary Tree Level Order Traversal
  • Coding Exercise: N-ary Tree Level Order Traversal
Chương 58 Day 51: Heaps and Priority Queue Data Structures and Algorithms
  • Day 51 Goals
  • Binary Heap: Data Structure Crash Course
  • Coding Interview Q1: Construct Max Binary Heap, Big O analysis
  • Proof of Build Binary Heap Time Complexity
  • Python Code
  • Introduction to Priority Queue
  • Coding Interview Q2: Construct Priority Queue,Big O analysis
  • Python Code
Chương 59 Day 52: Graphs Data Structures and Algorithms
  • Day 52 Goals
  • Data Structures Crash Course: Graphs Introduction
  • Data Structures Crash Course: Graphs - Part 2
  • Data Structures Crash Course: Graphs - Part 3
  • Coding Interview Q1: BFS, Adjacency List,Big O analysis
  • Python Code
  • BFS, Adjacency Matrix
  • Python Code
  • Coding Interview Q2: DFS, Recursive, Big O analysis
  • Python Code
  • DFS Iterative
  • Python Code
Chương 60 Day 53: Graphs Data Structures and Algorithms
  • Day 53 Goals
  • Coding Interview Q1: Number of Components, Big O analysis
  • Python Code
  • Coding Interview Q2(Medium): Course Scheduler
  • Brute Force Method and Big O analysis
  • Python Code - Brute Force Method
  • Topological Sort based method and Big O analysis
  • Python Code
Chương 61 Day 54: Graphs
  • Today's Goal
  • CODING INTERVIEW QUESTION: Number of Provinces
  • Coding Exercise: Number of Provinces
  • CODING INTERVIEW QUESTION: Find if path exists in Graph
  • Coding Exercise: Find if path exists in Graph
Chương 62 Day 55: Graphs
  • Today's Goal
  • CODING INTERVIEW QUESTION: Number of Islands
  • Coding Exercise: Number of Islands
  • CODING INTERVIEW QUESTION: Numbers with same consecutive differences
  • Coding Exercise: Numbers with same consecutive differences
Chương 63 Build Project
  • Bonus Lecture

Requirment

  • Basic knowledge of Python ( things like write a loop, function etc)

  • No experience with Data Structures or Algorithms required

Outcomes

  • Master data structures in Python - Arrays, LinkedLists, Stacks, Queues, Trees, Graphs, Hash Tables

  • Solve DSA problems for LEETCODE and technical interviews at Google, Amazon, Microsoft

  • Dynamic Programming, Backtracking, and advanced algorithm techniques

  • Time and Space Complexity analysis (Big O notation) for optimization

  • Real coding interview question patterns from FAANG companies

Instructor

...
Jackson Kailath

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all