Hey don't get demotivated. You really explain all the questions in very good way. From last 2 month i'm daily watching your videos whenever I get doubt while solving daily leetcode question. Your dedication of how you record the videos early morning with such a great explanation is unbelievable. Keep up the good work. You will surely get reach with this consistency. Looking forward to meet you some day, it will be nice.
@sarthakrana56587 ай бұрын
"Lavel sbke niklenge" .... Good use of meme 😂
@codingkart2457 ай бұрын
BROO!!! YOU JUST KILLED IT!!!! Keep making videos like this!!
@Jazzimus7 ай бұрын
bhaiya aap goated ho never forget
@tusharsinghal13337 ай бұрын
You are putting so much effort in these videos. keep up the good work bro.
@bhavaygoel7 ай бұрын
ive not seen any channel put that much effort everyday. keep up the work bro!
@tusharsinghal13337 ай бұрын
The internal while loop for each level seemed a little confusing to me, so i did it a little differently by making a queue of pair which keeps a pair of {currentString, level} and that did the job in a single while loop, similar to traditional BFS.
@kiranjeetkaur49557 ай бұрын
Awesome.. idk why you get very less likes.. you deserve a lot more
@shreejeshjballal7677 ай бұрын
Great Explanation ✨.Thank you!
@yashyenurkar93837 ай бұрын
great solution and explanation🙌
@wilhelmrudolphfittig35775 ай бұрын
good keep it up !
@niteshkhanna6907 ай бұрын
Your code is very clean and clear
@vanshikaahuja7667 ай бұрын
ngl, You are my inspiration.
@sameera24267 ай бұрын
great explanation
@ShubhamMIshra-hv5nz7 ай бұрын
I love your videos Aryan, i watch it on a daily basis.
@shubham_paliwal7 ай бұрын
Thanks a ton for making us understand in the best possible way! 💯...It takes a lot of efforts, guts, and a very deep understanding to do so 🔥.
@akasakasad7 ай бұрын
keep up the good work my man
@harshal87817 ай бұрын
❣💞❣
@vickyroy35957 ай бұрын
100k soon!!!!❤
@rahulsihara89467 ай бұрын
Amazing explanation as always
@asthajain25117 ай бұрын
great content 😌
@Noob_Coder12347 ай бұрын
TIME AND SPACE COMPLEXITY PART WAS LIT!!
@k.satish36637 ай бұрын
Nice explanation.
@Vishal-qb3wz7 ай бұрын
Great Content. Keep Doing!!!!
@mathy6427 ай бұрын
nice explanation!!
@nagasrisaichaitanyakolluri81737 ай бұрын
Thanks bro
@HaiAnhDuong-ew2fl7 ай бұрын
nice bro
@bharatmehta307 ай бұрын
Level sabke niklenge.
@kuldeepsaini4607 ай бұрын
Great Explanation please open a Hindi Channel also
@TON-1087 ай бұрын
Lyaval sabke nikalenge 😌😌😌
@shreeshdivyamsinha1267 ай бұрын
Yrr aap itna mehnat kar rahe ho. App j curve ke starting pe ho bas kuch din aur, aap dekhna 100k bahut jald hojayga. 🙂
@ujjwalrockriser7 ай бұрын
Sorry, bas BFS dekha aur video nahi dekha, thank you for the hint.
@jiganeshpatil14727 ай бұрын
Leavaaal sabke niklenge
@nerdInsaan7 ай бұрын
Java code for reference : class Solution { public char turnRight(char c){ return c == '9' ? '0' : (char) ( c + 1); } public char turnLeft(char c){ return c == '0' ? '9' :(char) ( c - 1); } public List nextOptions(String s){ List options = new ArrayList(); for(int i = 0 ; i < 4 ; i++ ){ char [] copy = s.toCharArray(); copy[i] = turnRight(s.charAt(i)); options.add(new String(copy)); copy[i] = turnLeft(s.charAt(i)); options.add(new String(copy)); } return options; } public int openLock(String[] deadends, String target) { Deque q = new LinkedList(); Set visited = new HashSet(); q.offer("0000"); visited.add("0000"); Set deadend = new HashSet(Arrays.asList(deadends)); int level = 0; while(!q.isEmpty()){ int size = q.size(); while(size-- > 0){ String curr = q.poll(); if(curr.equals(target)) return level; if(deadend.contains(curr)) continue; for(String option : nextOptions(curr)){ if(!visited.contains(option) && !deadend.contains(curr) ){ q.offer(option); visited.add(option); } } } level++; } return -1; } }
@wellsonny79876 ай бұрын
CFBR
@shashanksahu92307 ай бұрын
At first I thought It was a recursion problem, but I was getting wrong answer with it. I still don't understand how you come up with graph instead of recursion