- Видео 14
- Просмотров 824
CodeWithKai
Индия
Добавлен 29 окт 2015
Hey, I am a coding enthusiast and a software engineer. In this channel, I try to create content which can help some of you and entertain you at the same time.
Subscribe to the channel and press the bell 🔔 for the latest updates!
For Business Collabs or Queries: mewaconite@gmail.com
Link Tree: linktr.ee/codewithkai
Subscribe to the channel and press the bell 🔔 for the latest updates!
For Business Collabs or Queries: mewaconite@gmail.com
Link Tree: linktr.ee/codewithkai
34. Find First and Last Position of Element in Sorted Array | Complete Dry Run 🧙♂️ | Video 13
This is the 13th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai
I will do codewalk on how to implement leetcode 34. Find First and Last Position of Element in Sorted Array
Chapters:
0:00 - Introduction
01:09 - Base Intuition
02:54 - Dry Run
13:13 - Code Walk (not optimal)
17:58 - Code Walk (optimal)
Visit my Github for multiple language solutions, link below contains folder which has solution for C++/Java/Python code.
github.com/KailasMahavarkar/interview-prep/tree/master/Binary%20Search%20Question/find_first_and_last_position_of_element_in_sorted_array_leetcode_34
#codewithkai
#binarysearch #searchalgorithm #sortedarray #leetcode #leetcode34 #searchingandsorting #algorith...
I will do codewalk on how to implement leetcode 34. Find First and Last Position of Element in Sorted Array
Chapters:
0:00 - Introduction
01:09 - Base Intuition
02:54 - Dry Run
13:13 - Code Walk (not optimal)
17:58 - Code Walk (optimal)
Visit my Github for multiple language solutions, link below contains folder which has solution for C++/Java/Python code.
github.com/KailasMahavarkar/interview-prep/tree/master/Binary%20Search%20Question/find_first_and_last_position_of_element_in_sorted_array_leetcode_34
#codewithkai
#binarysearch #searchalgorithm #sortedarray #leetcode #leetcode34 #searchingandsorting #algorith...
Просмотров: 52
Видео
Recursion Simplified - Introduction to recursion (Video 01)
Просмотров 11928 дней назад
Welcome to the first video in the CodeWithKai Recursion Playlist! 🚀 In this episode, we’ll dive into the foundations of recursion, a core concept in programming that unlocks the power of solving complex problems with simple, elegant solutions. Here’s what you’ll learn: ✅ What recursion is and why it’s essential in programming ✅ The structure of a recursive function ✅ Key terms like base case an...
Leetcode 162. Find Peak Element | Complete Dry Run Multiple Examples🧙♂️ | Video 12
Просмотров 93Месяц назад
This is the 12th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode 162. Find Peak Element Chapters: 0:00 - Introduction 01:03 - Leetcode 852 vs Leetcode 162 02:24 - Dry Run 1 10:01 - Dry Run 2 14:09 - Code Walk Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python c...
Leetcode 852. Peak Index in a Mountain Array | Optimal Complete Dry Run 🧙♂️🪄 | Video 11
Просмотров 54Месяц назад
This is the 11th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode 852. Peak Index in a Mountain Array Chapters: 0:00 - Introduction 01:00 - Half Dry Run Example 1 02:54 - Half Dry Run Example 2 04:26 - Dry Run Example 3 08:30 - Code Walk Visit my Github for multiple language solutions, link below contains folder which has s...
Leetcode 154. Find Minimum in Rotated Sorted Array | Optimal Complete Dry Run 🧙♂️🪄 | Video 10
Просмотров 36Месяц назад
This is the 10th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode 154. Find Minimum in Rotated Sorted Array - II Chapters: 0:00 - Introduction 01:06 - Dry Run Example 1 06:40 - Dry Run Example 2 11:40 - Time Complexity 13:20 - Code Walk Visit my Github for multiple language solutions, link below contains folder which has so...
Leetcode 81. Search in Rotated Sorted Array II | Simple Dry Run 🔥🔥🔥 | Video 09
Просмотров 38Месяц назад
This is the 9th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement Leetcode 81. Search in Rotated Sorted Array II Chapters: 0:00 - Introduction 00:20 - Revise leetcode 33 (Search in Rotated Sorted Array) 03:21 - Dry Run Example 1 11:11 - Dry Run Example 2 14:55 - Code Walk Visit my Github for multiple language solutions, link below co...
Leetcode 153. Find Minimum in Rotated Sorted Array | Optimal Complete Dry Run 🔥🔥🔥 | Video 08
Просмотров 62Месяц назад
This is the 8th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode 153. Find Minimum in Rotated Sorted Array Chapters: 0:00 - Introduction 01:18 - Explanation 06:02 - Dry Run Example 1 09:10 - Dry Run Example 2 13:10 - Code Walk Visit my Github for multiple language solutions, link below contains folder which has solution for...
Leetcode 33. Search in Rotated Sorted Array | Bruteforce + Optimal | Video 06
Просмотров 47Месяц назад
This is the 7th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode number 33. Search in Rotated Sorted Array Chapters: 0:00 - Introduction 01:20 - Brute-Force Explanation 04:26 - Brute-Force Code Walk 05:20 - Optimal Solution Explanation 25:12 - Optimal Solution Code Walk Visit my Github for multiple language solutions, link ...
Leetcode 367. Valid Perfect Square | Bruteforce + Optimal | Binary Search Playlist | Video 06
Просмотров 25Месяц назад
This is the 6th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode number 367. Valid Perfect Square 1. Bruteforce 2. Brutefoce codewalk 3. Optimal 4. Optimal Codewalk Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python code. github.com/KailasMahavarkar/interview-pr...
Leetcode 69. Sqrt(x) | Bruteforce + Optimal | Binary Search Playlist | Video 05
Просмотров 57Месяц назад
This is the 5th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode number Leetcode 69. Sqrt(x) 1. Bruteforce 2. Brutefoce codewalk 3. Optimal 4. Optimal Codewalk Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python code. github.com/KailasMahavarkar/interview-prep/tr...
Leetcode 744. Find Smallest Letter Greater Than Target | Easy++ | Binary Search Playlist- Video 04
Просмотров 38Месяц назад
This is the 4th Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode number 744. Find Smallest Letter Greater Than Target Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python code. github.com/KailasMahavarkar/interview-prep/tree/master/Binary Search Question/find_smal...
Leetcode 35. Search Insert Position | Bruteforce + Optimal | Binary Search Playlist | Video 03
Просмотров 25Месяц назад
This is the 3rd Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement leetcode number 35 i.e Search Insert Position. Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python code. github.com/KailasMahavarkar/interview-prep/tree/master/Binary Search Question/search_insert_position_l...
Binary Search Recursive Code Explained | CodeWalk | Binary Search Playlist | Video 02
Просмотров 135Месяц назад
This is the 2nd Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will do codewalk on how to implement binary search (recursive) and discuss why do we do mid = s e - s / 2 instead of s e / 2 !! Visit my Github for multiple language solutions, link below contains folder which has solution for C /Java/Python code. github.com/KailasMahavarkar/interview-prep/tree/master/Bin...
Binary Search Explained | Introduction | CodeWalk Ep. 01 - CodeWithKai
Просмотров 44Месяц назад
This is the 1st Video of our Playlist "Binary Search Concept & Questions" by CodeWithKai I will explain the intuition of binary search algorithm widely used over multiple industries across globe. We will do coding after explanation and see if we are able to pass all the test cases. Visit my Github for multiple language solutions, link below contains both C as well as Java/Python code. ✨ Timelin...
0:12 sec 😵