Skip to main content
00:00/00:00
Lecture 18 of 217

Implementing the code

Download Course (Free)

Course Content

0 / 217 completed
Section 1: Microsoft Array Question Container with most water (Medium)6 videos

Brute force solution

9m

pseudocode walkthrough

14m

Better Approach intuition

21m

Introduction to the problem

14m

Implementing the code

4m

Approach 2 Pseudocode walkthrough

14m
Section 2: Google Array Question Valid mountain array (Easy)4 videos

Introduction to the problem

6m

How to think about this problem

11m

Pseudocode Walkthrough

8m

Implementing the code

4m
Section 3: Google Array Question Boats to save people (Medium)4 videos

Problem Introduction

12m

How to intuitively think about this problem

14m

Implementing the code

7m

Pseudocode Walkthrough

14m
Section 4: Facebook Array Question Move Zeroes (Easy)5 videos

Brute force Intuition

11m

Brute force pseudocode walkthrough

7m

Better Approach Intuition

13m

Implementing the code

4mNow Playing

Better Approach Pseudocode walkthrough

6m
Section 5: Amazon Array Question Longest substring without repeating characters (Medium)6 videos

Introduction to the problem

5m

Approach 2 pseudocode walkthrough

13m

Brute Force Intuition

25m

Approach 2 Intuition

20m

Pseudocode walkthrough

40m

Implementing the code

11m
Section 6: Arrays Question Find first and last position of element in sorted Array (Medium)6 videos

Introduction to the problem and brute force approach

11m

Brute force Pseudocode walkthrough

13m

Pseudocode walkthrough part 1

16m

Approach 2 Optimal Approach intuition

20m

Pseudocode walkthrough part 2

18m

Implementing the code

15m
Section 7: Google Array question first bad version (Easy)4 videos

Introduction To The Problem And Brute Force Approach

14m

Optimal Solution Intuition

12m

Optimal solution pseudocode walkthrough

4m

Implementing the code

14m
Section 8: Microsoft Math Question Missing Number (Easy-ish)7 videos

Introduction to the problem

7m

Approach 1 Brute Force Approach

8m

PseudoCode Walkthrough For Approach 2

7m

Approach 2 A Better Approach Explanation

12m

Implementing the code

4m

Approach 3 Optimal Approach

13m

Implementing the optimal approach

2m
Section 9: Amazon Math Question Count Primes5 videos

Pseudocode Walkthrough For Brute Force Approach

11m

Problem Introduction And Brute Force Explanation

12m

Pseudocode Walkthrough For Optimal Approach

14m

Approach 2 Optimal solution

21m

Code Implementation

6m
Section 10: Airbnb Math Question Single Number6 videos

Introduction to the problem and brute force approach

8m

Pseudocode walkthrough for brute approach

5m

Approach 2 better Approach

7m

Implementing the code

5m

Implementing the optimal approach

3m

Approach 3 optimal approach

21m
Section 11: Amazon Math Question Robot return to origin (Easy)2 videos

Implementing the code

4m

Explaining the problem

8m
Section 12: Facebook Math Question Add Binary (Easy)5 videos

Introduction to the problem

7m

Examples of binary additions

4m

Pseudocode Implementation

6m

Implementing the code

8m

Pseudocode Walkthrough

12m
Section 13: Google Hash Tables Dictionaries question Two Sum (Easy)6 videos

Brute force Pseudocode Implementation

5m

Approach 1 Introduction to the problem and brute force approach

19m

Pseudocode Walkthrough

12m

Pseudocode Walkthrough

13m

Code Implementation

4m

Approach 2 Optimal Approach Explanation

29m
Section 14: Google Hash Tables Dictionaries question Contains Duplicate3 videos

Code Implementation

4m

Optimal Approach

8m

Introduction to the problem and multiple approaches

19m
Section 15: Google Hash Tables Dictionaries question Majority Element7 videos

Approach 1 Intuition

8m

Implementing Approach 2 code

4m

Approach 1 Pseudocode Walkthrough

11m

Approach 2 - Majority Element Intuition

11m

Approach 3 Intuition - Optimal solution

18m

Implementing Approach 3 (optimal approach)

6m

Approach 3 Walkthrough - Optimal solution

11m
Section 16: Hash Tables Dictionaries question 4sum 2 (Medium)4 videos

Brute force Explanation

15m

Implementing the code

7m

Approach 2 Optimal approach

26m

Brute Force Pseudocode Walkthrough

13m
Section 17: LinkedIn Hash Tables Dictionaries question Minimum Window Substring (Hard)6 videos

Explanation - Minimum Window Substring - part 1

9m

Explanation - Minimum window substring - part 2

12m

Pseudocode Implementation

20m

Code Implementation - Minimum Window Substring

3m

Explanation - Minimum window substring - part 3

29m

Pseudocode Walkthrough

21m
Section 18: Facebook Hash Tables Dictionaries question Group Anagrams (Medium)2 videos

Coding the implementation

8m

Explanation - Group Anagrams - Medium #49

26m
Section 19: Microsoft Hash Tables Dictionaries question LRU Cache (Medium)4 videos

Introduction to the problem

13m

Input Output for the problem

13m

Intuition behind the problem

12m

Pseudocode implementation

16m
Section 20: Apple Linked list question Merge Two Sorted Lists (Easy)4 videos

Explanation - Merge Two Sorted Lists - Easy #21

9m

Pseudocode Implementation - Merge Two Sorted Lists - Easy #21

10m

Walkthrough - Merge Two Sorted Lists - Easy #21

12m

Code - Merge Two Sorted Lists - Easy #21

7m
Section 21: Amazon Linked list question Linked list cycle (Medium)4 videos

Intuition - Linked List Cycle - Easy #141

11m

Explanation - Linked List Cycle - Easy #141

5m

Code - Linked List Cycle - Easy #141

4m

Walkthrough - Linked List Cycle - Easy #141

5m
Section 22: Microsoft Linked list question Reverse linked list (Medium)4 videos

Explanation - Reverse Linked List

5m

Implementing the code - Reverse Linked List

5m

Intuition - Reverse Linked List

10m

pseudocode Implementation & Walkthrough - Reverse Linked List

12m
Section 23: Adobe Linked list question Add two numbers (Medium)5 videos

Explanation - Add Two Numbers

9m

Pseudocode Implementation - Add Two Numbers

7m

Intuition - Add Two Numbers

11m

Code - Add Two Numbers

11m

Walkthrough - Add Two Numbers

13m
Section 24: Linked list question Remove Nth node from end of list (Medium)6 videos

Explanation - Remove Nth Node From End of List

5m

Intuition - Remove Nth Node From End of List

12m

Walkthrough - Remove Nth Node From End of List

8m

Approach 2 Explanation - Remove Nth Node From End of List

13m

Code - Remove Nth Node From End of List

5m

Approach 2 Walkthrough - Remove Nth Node From End of List

8m
Section 25: Linked list question Odd Even linked list (Medium)5 videos

Explanation - Odd Even Linked List

7m

Implementation - Odd Even Linked List

4m

Intuition - Odd Even Linked List

18m

Walkthrough - Odd Even Linked List

9m

Code - Odd Even Linked List

5m
Section 26: Facebook Backtracking question Subsets (Medium)5 videos

Cascading solution explanation - Subsets

9m

Explanation - Subsets

10m

Cascading solution walkthrough - Subsets

7m

Backtracking Approach 2 explanation - Subsets

13m

Implementing the code

6m
Section 27: Amazon Backtracking question Letter Combination of a Phone Number (Medium)4 videos

Explanation - Letter Combinations of a Phone Number

8m

Intuition - Letter Combinations of a Phone Number

22m

Code - Letter Combinations of a Phone Number

12m

Walkthrough - Letter Combinations of a Phone Number

26m
Section 28: Uber Backtracking question Combination Sum (Medium)4 videos

Explanation the problem

8m

Intuition behind the problem

15m

Walkthrough over the pseudocode

18m

Implementing the code

17m
Section 29: Bloomberg Backtracking question Palindrome Partitioning (Medium)4 videos

Pseudocode implementation

5m

Explaining the problem

20m

Implementing the code

7m

Walkthrough over pseudocode

29m
Section 30: Microsoft Trees question Symmetric Trees (Easy)4 videos

Explaining the problem

6m

Implementing the code

4m

Intuition behind the problem

12m

Walkthrough over pseudocode

26m
Section 31: Google Trees question Maximum Depth of a Binary Tree (Easy)4 videos

Explaining the problem

3m

Implementing the real code

4m

Walkthrough over pseudocode

14m

Intuition and pseudocode implementation

16m
Section 32: Amazon Trees question Path Sum (Easy)4 videos

Explaining the problem

6m

Intuition behind the problem

8m

Coding the solution

6m

Walkthrough over pseudocode

21m
Section 33: Facebook Trees question Lowest Common Ancestor of a Binary Tree (Medium)4 videos

Explaining the problem

5m

Pseudocode implementation

10m

Intuition behind the problem

10m

Coding Implementing

12m
Section 34: Google Trees question Kth Smallest Element In a BST (Medium)3 videos

Explaining the problem and brute force approach

11m

Implementing the code

4m

Optimised Solution Explanation

20m
Section 35: Microsoft Trees question Serialise And Deserialise Binary Tree (Hard)4 videos

Walkthrough over pseudocode (Serialisation)

5m

Explaining the Serialisation

15m

Explaining the Deserialisation

9m

Walkthrough over pseudocode (Deserialisation)

9m
Section 36: Microsoft Trees question Binary Tree Maximum Path Sum (Hard)4 videos

Explaining the problem

4m

Intuition behind the problem

12m

Coding the solution

7m

Walkthrough over pseudocode

13m
Section 37: Google Stack Question Min Stack (Easy)4 videos

Walkthrough over pseudocode

5m

Brute force explanation

9m

Optimal solution explanation

11m

Implementing the code

8m
Section 38: Amazon Stack Question Valid Parenthesis (Easy)5 videos

Pseudocode Implementation

3m

Explaining the problem

7m

Intuition behind this problem

7m

Walkthrough over the pseudocode

6m

Implementing the code

7m
Section 39: Apple Stack Question Binary Tree Level Order Traversal (Medium)3 videos

Walkthrough over pseudocode

6m

Implementing the code

5m

Explaining the problem

11m
Section 40: Microsoft Queue Question Binary Tree Zigzag Level Order Traversal (Medium)6 videos

Explaining the problem

3m

Intuition behind the problem

10m

Walkthrough over pseudocode

9m

Optimal solution pseudocode walkthrough

6m

Implementing the code

6m

Optimal solution explanation

15m
Section 41: Stack Question Binary Tree Postorder Traversal (Medium)2 videos

Explanation of the problem

8m

Implementing the code

5m
Section 42: Google Dynamic Programming Question House Robber (Easy)5 videos

Explanation behind the problem

10m

nd Approach Bottom Up dynamic programming

7m

Intuition behind the problem

13m

Implementing the code

6m

Walkthrough behind pseudocode

5m
Section 43: Facebook Dynamic Programming Question Best Time To Buy And Sell Stocks (Easy)5 videos

Explanation behind the problem

4m

Walkthrough over pseudocode

6m

Intuition behind the problem

16m

Optimal solution explanation

7m

Coding the solution

5m
Section 44: Amazon Dynamic Programming Question Climbing Stairs (Easy)7 videos

Explaining the problem

9m

Intuition behind the problem

13m

Bottom up approach explanation

3m

Bottom up approach walkthrough

4m

Implementation the pseudocode

7m

Bottom up optimisation

2m

Code - Climbing Stairs

4m
Section 45: Google Dynamic Programming Question Coin Change (Medium)5 videos

Explaining the problem

5m

Intuition behind the problem

19m

Pseudocode Implementation and optimisation

15m

Implementing the code

9m

Bottom up approach explanation

20m
Section 46: Bloomberg Dynamic Programming Question Unique Paths (Medium)3 videos

Explaining the problem

6m

Pseudocode Implementation and walkthrough

5m

Implementing the code

6m
Section 47: Microsoft Dynamic Programming Question Longest Palindromic Substring (Medium)6 videos

Explanation of the problem

3m

Pseudocode Implementation

5m

Initial Intuition behind the problem

9m

Optimising the previous solution

9m

Walkthrough over pseudocode

15m

Implementing the code

6m
Section 48: Amazon Dynamic Programming Question Trapping Rain Water (Hard)2 videos

Coding the implementation

10m

Explaining the problem

26m