Skip to main content
00:00/00:00
Lecture 11 of 154

Brute force Intuition

Download Course (Free)

Course Content

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

Brute force solution

9m

Better Approach intuition

21m

Introduction to the problem

14m

Implementing the code

5m

Approach 2 Pseudocode walkthrough

14m

pseudocode walkthrough

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

Implementing the code

5m

Pseudocode Walkthrough

8m

How to think about this problem

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

Problem Introduction

12m

How to intuitively think about this problem

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

Brute force Intuition

11mNow Playing

Brute force pseudocode walkthrough

7m

Better Approach Pseudocode walkthrough

6m

Better Approach Intuition

13m

Implementing the code

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

Brute Force Intuition

25m

Approach 2 Intuition

20m

Approach 2 pseudocode walkthrough

13m

Pseudocode walkthrough

40m
Section 6: Arrays QuestionFind first and last position of element in sorted Array (Medium)5 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
Section 7: Google Array question first bad version (Easy)3 videos

Introduction To The Problem And Brute Force Approach

14m

Optimal solution pseudocode walkthrough

4m

Optimal Solution Intuition

12m
Section 8: Microsoft Math Question Missing Number (Easy-ish)5 videos

Approach 1 Brute Force Approach

8m

Approach 2 A Better Approach Explanation

12m

PseudoCode Walkthrough For Approach 2

7m

Implementing the optimal approach

3m

Approach 3 Optimal Approach

13m
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

Code Implementation

9m

Approach 2 Optimal solution

21m
Section 10: Airbnb Math Question Single Number4 videos

Pseudocode walkthrough for brute approach

5m

Approach 2 better Approach

13m

Implementing the optimal approach

4m

Approach 3 optimal approach

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

Explaining the problem

8m

Implementing the code

4m
Section 12: Facebook Math Question Add Binary (Easy)3 videos

Examples of binary additions

4m

Pseudocode Implementation

6m

Pseudocode Walkthrough

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

Brute force Pseudocode Implementation

5m

Approach 1 Introduction to the problem and brute force approach

19m

Pseudocode Walkthrough

13m

Approach 2 Optimal Approach Explanation

29m

Code Implementation

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

Code Implementation

5m

Optimal Approach

8m

Introduction to the problem and multiple approaches

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

Approach 1 Pseudocode Walkthrough

11m

Approach 2 - Majority Element Intuition

11m

Approach 1 Intuition

8m

Implementing Approach 2 code

5m

Implementing Approach 3 (optimal approach)

5m

Approach 3 Walkthrough - Optimal solution

11m

Approach 3 Intuition - Optimal solution

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

Brute force Explanation

15m

Brute Force Pseudocode Walkthrough

13m

Approach 2 Optimal approach

26m
Section 17: Linkedin Hash Tables Dictionaries question Minimum Window Substring (Hard)5 videos

Explanation - Minimum Window Substring - part 1

9m

Explanation - Minimum window substring - part 2

12m

Explanation - Minimum window substring - part 3

29m

Pseudocode Implementation

20m

Code Implementation - Minimum Window Substring

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

Coding the implementation

9m

Explanation - Group Anagrams - Medium #49

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

InputOutput 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

Pseudocode Implementation - Merge Two Sorted Lists - Easy #21

10m

Explanation - Merge Two Sorted Lists - Easy #21

9m

Walkthrough - Merge Two Sorted Lists - Easy #21

12m

Code - Merge Two Sorted Lists - Easy #21

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

Explanation - Linked List Cycle - Easy #141

5m

Intuition - Linked List Cycle - Easy #141

11m

Walkthrough - Linked List Cycle - Easy #141

5m

Code - Linked List Cycle - Easy #141

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

Explanation - Reverse Linked List

5m

Intuition - Reverse Linked List

10m

pseudocode Implementation & Walkthrough - Reverse Linked List

12m

Implementing the code - Reverse Linked List

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

Explanation - Add Two Numbers

9m

Intuition - Add Two Numbers

11m

Pseudocode Implementation - Add Two Numbers

7m

Code - Add Two Numbers

13m

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

Approach 2 Walkthrough - Remove Nth Node From End of List

8m

Code - Remove Nth Node From End of List

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

Explanation - Odd Even Linked List

7m

Intuition - Odd Even Linked List

18m

Implementation - Odd Even Linked List

4m

Walkthrough - Odd Even Linked List

9m

Code - Odd Even Linked List

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

Explanation - Subsets

10m

Cascading solution explanation - Subsets

9m

Backtracking Approach 2 explanation - Subsets

13m

Cascading solution walkthrough - Subsets

7m
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

9m

Walkthrough - Letter Combinations of a Phone Number

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

Explanation the problem

8m

Intuition behind the problem

15m

Walkthrough over the pseudocode

18m
Section 29: Microsoft Backtracking question Word Search (Medium)1 videos

Problem Explanation and intuition

48m
Section 30: Bloomberg Backtracking question Palindrome Partitioning (Medium)3 videos

Pseudocode implementation

5m

Intuition behind the problem

20m

Walkthrough over pseudocode

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

Intuition and pseudocode implementation

16m

Implementing the real code

5m
Section 32: Amazon Trees question Path Sum (Easy)1 videos

Coding the solution

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

Code Lowest common ancestor of a binary tree

8m

Walkthrough over pseudocode

15m

Pseudocode implementation

10m
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

5m

Optimised Solution Explanation

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

Walkthrough over pseudocode (Serialisation)

9m

Explaining the Serialisation

17m

Explaining the Deserialisation

17m

Walkthrough over pseudocode (Deserialisation)

17m
Section 36: Google Stack Question Min Stack (Easy)4 videos

Brute force explanation

15m

Walkthrough over pseudocode

9m

Optimal solution explanation

17m

Implementation

11m
Section 37: Amazon Stack Question Valid Parenthesis (Easy)2 videos

Intuition behind this problem

11m

Walkthrough over the pseudocode

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

Optimal solution explanation

27m

Optimal solution pseudocode walkthrough

10m
Section 39: Stack Question Binary Tree Postorder Traversal (Medium)1 videos

Explanation of the problem

12m
Section 40: Google Dynamic Programming Question House Robber (Easy)3 videos

Explanation behind the problem

12m

nd Approach Bottom Up dynamic programming

10m

Walkthrough behind pseudocode

9m
Section 41: Facebook Dynamic Programming Question Best Time To Buy And Sell Stocks (Easy)1 videos

Coding the solution

6m
Section 42: Amazon Dynamic Programming Question Climbing Stairs (Easy)5 videos

Bottom up approach explanation

4m

Bottom up optimisation

4m

Code - Climbing Stairs

5m

Bottom up approach walkthrough

6m

Implementation the pseudocode

11m
Section 43: Google Dynamic Programming Question Coin Change (Medium)1 videos

Pseudocode Implementation and optimisation

15m
Section 44: Microsoft Dynamic Programming Question Longest Palindromic Substring (Medium)3 videos

Initial Intuition behind the problem

16m

Optimising the previous solution

17m

Walkthrough over pseudocode

23m
Section 45: Bloomberg Dynamic Programming Question Unique Paths (Medium)1 videos

Pseudocode Implementation and walkthrough

8m