No video

Search a 2D matrix (LeetCode 74) | Full solution with visual examples and proof

  Рет қаралды 7,331

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 16
@user-xx6dv1tz2j
@user-xx6dv1tz2j Жыл бұрын
Your teaching was just amazing .Please continue these Problem Solving sessions
@pragyanborthakur1333
@pragyanborthakur1333 15 күн бұрын
Great explanation brother
@mohammedharoon1167
@mohammedharoon1167 6 ай бұрын
saved my day nice explanation 👍
@nikoo28
@nikoo28 6 ай бұрын
Glad it helped!
@AlexTopGT
@AlexTopGT 9 ай бұрын
can anyone explain why this solution is not O(log m) + O(log n)?
@sharaabsingh
@sharaabsingh 8 ай бұрын
This is the law of logarithms. Log(A) + Log(B) = log(A*B)
@nikoo28
@nikoo28 8 ай бұрын
Perfect answer
@ChristForAll-143
@ChristForAll-143 Жыл бұрын
CAN YOU PLEASE CREATE A PLAYLIST FOR INTERVAL PROBLEMS - I DON'T FIND ANY U TUBER DOES THAT
@nikoo28
@nikoo28 Жыл бұрын
once I have a bunch of problems on intervals, I will put them in a playlist for sure
@ChristForAll-143
@ChristForAll-143 Жыл бұрын
@@nikoo28 Thanks a lot brother, if you want any questions will share here?
@khushaldodeja8267
@khushaldodeja8267 6 ай бұрын
getting time limit exceeded
@khushaldodeja8267
@khushaldodeja8267 6 ай бұрын
Code I have written class Solution { public boolean searchMatrix(int[][] matrix, int target) { int i = 0, j = matrix.length-1; int mid; int potentialRow=-1; while(imatrix[mid+1][0]){ i = mid+1; } else if(target
@nikoo28
@nikoo28 5 ай бұрын
look at the code on github, it is available in video description
@kolawoleabdulrahman
@kolawoleabdulrahman 11 ай бұрын
cool look. great video. lets get started😆
@nikoo28
@nikoo28 10 ай бұрын
hahaha... 😄
@codinghero2001
@codinghero2001 Жыл бұрын
Your teaching was just amazing .Please continue these Problem Solving sessions
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 183 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 16 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 2,9 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 31 МЛН
Binary Search Algorithm - Computerphile
18:34
Computerphile
Рет қаралды 159 М.
Kth Smallest element in a matrix | Leetcode #378
15:33
Techdose
Рет қаралды 5 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
How I Failed the Google Coding Interview (and lessons I learned)
14:24
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН