Love You Sir, Got A Internship. 6 months of struggle. Got Pass my DSA test. Thanks.
@nikoo28 Жыл бұрын
all the very best...congrats 😄
@adityasingh28836 ай бұрын
Bhai mujhe guide kardo yaar konsi company main internship mili or kaise mili kya criteria tha?
@ashishkarthik28173 ай бұрын
Hey bro can u tell how and what all did u practice
@ForWork-mj9fv2 ай бұрын
Einstein: if you can't explain it simply, you don't know it well enough 🐐, I use to kill myself crying i was dull, not until i found it maybe I was getting a proper explanation, and you did prove me right, imagine after your explanation, i didn't even wait to see you write the code, i went straight ahead to try it out myself, cause i now understand the problem 100% 🔥❤, Thank you sir 🙏
@toheebalawode16342 ай бұрын
your explanation sticks to the brain, please continue the good work
@arslanmuhammad4190 Жыл бұрын
By Watching Your Videos now. I solved problems in efficient complexity. Thanks.
@nikoo28 Жыл бұрын
Excellent!
@priyabratapadhi24216 ай бұрын
thanks,sir, really loved your CLEAR STEP by step explanations.
@ashmita_shrivastava3 ай бұрын
best solution till date
@rawat720311 ай бұрын
Keep up the Great work Sir, Thank you
@sarthakmahadik9760 Жыл бұрын
Very informative . Love you Man
@SanthoshaK-w5b8 ай бұрын
Thank you sir. im confused from 4 days
@ishimwezachee21798 ай бұрын
You are the best for sure
@contentorwhat64522 ай бұрын
Best Explanation Sir!!!!
@tasniatahsin863711 ай бұрын
hi nikhil, there is a line else which made me confused, if(is.empty || stack.pop()!=c) why did you write the condition is.empty?? wont it be !is.empty() since if its empty, we are gonna be returning true??
@nikoo2811 ай бұрын
We are doing this to check if the stack becomes empty without matching all the brackets.
@rohithbhandari78369 ай бұрын
@@nikoo28 That is only possible when input contains numbers or letters Is not input always contains parenthesis or brackets ?
@nikoo289 ай бұрын
Check the problem constraints
@ChppuKaPaati3 ай бұрын
What if string starts with close bracket like "]()" it will try to pop empty stack and will throw error so that stack.isEmpty() Condition is there
@Nexgenstory Жыл бұрын
Very informative video… could you please make a DSA playlist from a scratch
@nikoo28 Жыл бұрын
what kind of videos are you looking for? I have videos on stacks/queue, other data structures...
@mahalasakini5045 Жыл бұрын
Sir please make some video on design patterns …it will be helpful… and thanks for wonderful videos on DSA
@nikoo28 Жыл бұрын
design patterns, system design, graphs...these are the next series of videos in my pipeline..stay tuned!!
@pinnapureddynithinreddy4805 Жыл бұрын
sir can you do videos on solving contest problems every week
@nikoo2811 ай бұрын
I post a new video every week :)
@jashanjotbedi17969 ай бұрын
Explaination is at par level .
@FR0ZING6 ай бұрын
thank you so much 🙏🙏🙏
@appikeeru57854 ай бұрын
Sir very clear explanation 👌
@arslanmuhammad4190 Жыл бұрын
sir When You are going to work on Graphs.
@nikoo28 Жыл бұрын
very soon. My next week video will be on introduction to graphs
@arslanmuhammad4190 Жыл бұрын
@@nikoo28 Thanks Sir
@nikoo289 ай бұрын
The complete playlist on graphs is now available: kzbin.info/aero/PLFdAYMIVJQHNFJQt2eWA9Sx3R5eF32WPn
@MdShamuel Жыл бұрын
Amazing Bro . keep it up💘.
@nikoo2811 ай бұрын
Thanks 🔥
@נויבןדוד-ג5ר Жыл бұрын
Thank you! You’re awesome! Can you please also upload a solution of Leetcode 200?
@nikoo28 Жыл бұрын
yes, that is a very popular problem indeed. Will make a video soon
@SanthoshaK-w5b8 ай бұрын
class Solution { public boolean isValid(String s) { //valid parentheses would mean that all types of opening parentheses are correctly matched with their corresponding closing parentheses, and they are properly nested within each other. Stack stack = new Stack(); for(char par : s.toCharArray()){ if(par == '('){ stack.push(')'); }else if(par == '{'){ stack.push('}'); }else if(par == '['){ stack.push(']'); }else if(stack.pop() != par){ this code is also working , but i dont know why at last else if condition we want 2 condition to check. can any one explain return false; } } return stack.isEmpty(); } }
@ramanarao46465 ай бұрын
@user-ei3ng5kt4n check for this input String s =")";
@ChppuKaPaati3 ай бұрын
Here problem is what if string stars with close bracket? Like this "]()[]" it will not push any charecter to stack but will try to pop the empty stack which will throw error so you must add isEmpty() Condition to avoid error
@subee12810 ай бұрын
Thanks
@nandanihada44614 ай бұрын
great explanation😄
@kurapatisabitha7 ай бұрын
Can you please provide solution for Human Readable Time
@nikoo286 ай бұрын
Can you provide me a link to the problem?
@ssss2214418 күн бұрын
❤
@arslanmuhammad4190 Жыл бұрын
Sir, Which Tree can I learn. I Know about BST and AVL. Can You guide me for More Trees.
@abhi_coder6 Жыл бұрын
Bhai kafi h yaar bas rulayega kya itna hi karle aur question practice kar bas aur kuch nhi mostly tujhe bst pe bt pe bhi sawal milega avl rare h
@nikoo28 Жыл бұрын
exactly, you don't need so much. BST and binary trees are usually enough.
@arslanmuhammad4190 Жыл бұрын
sir Please I know about BST and AVL but What are other Binary trees.
@arslanmuhammad4190 Жыл бұрын
@@abhi_coder6 yaar to sai khta ha lekin smj nai a rai or konsay binary trees.
@nikoo28 Жыл бұрын
@@arslanmuhammad4190 solve more problems on binary trees, just understanding the concept is not enough. Try to find the lowest common ancestor, least paths, backtracking in trees etc.
@jjoelthomas11 ай бұрын
Hi Nikhil, Your solutions are amazing. But for this particular problem, I feel this can be done in a better way instead of complicating it with a stack data structure. Please find my solution which was advised to me in an interview at Apexon UK. I find the solution to be intuitive and very simple. private static boolean isBalancedParanthesis(String s){ do { if(s.contains("()")) s = s.replace("()", ""); if(s.contains("[]")) s = s.replace("[]",""); if(s.contains("{}")) s = s.replace("{}", ""); }while(s.contains("[\\W]+")); if(s.length()>0) return false; else return true; }
@nikoo2811 ай бұрын
that works as well, but I was also trying to give an idea about how to solve mathematical expressions also. :) You are also relying on "contains" functionality.
@jjoelthomas11 ай бұрын
@nikoo28 I don't mean to discredit you. Because I learn a lot from you. And this solution I posted just in case someone's looking for an easy solution. Anyway your videos are all amazing and you are really doing a great work
@vishalrai60273 ай бұрын
@@jjoelthomas you have to tell the interviewer that contains and replace function are costly. makes whole program as O(n^2)
@parthmodi202810 ай бұрын
Greak Work Sir
@nikoo2810 ай бұрын
Thanks
@MrShrane5 ай бұрын
@@nikoo28 Sir please answer my one doubt , are we not required to return true?? why was there no returning of true? else how will we get it