SIR PLEASE KEEP MAKING THESE JAVA INTERVIEW QUESTIONS ON A REGULAR BASIS, FROM EASY TO HARDEST, PLEASE🙏🙏, AND PUT MORE MORE CONTENT ON DATA STRUCTURE IMPLEMENTATION IN JAVA
@asashish9055 жыл бұрын
Earlier, I used to wait for Shaktimaan every Sunday, now, I wait for you every Sunday. :) Thank You, Sir!
@baubaudinamo4 жыл бұрын
I searched for Shaktimaan :))))))))))))))))))
@raghavanaliassaravananm15465 жыл бұрын
More than anything I always fall in love with your simplicity and modesty!!
@bepa7442 Жыл бұрын
This youtube course is exactly what i was looking for, it helps me a lot with learning Java. Thank you for your work.
@mohanbabu91814 жыл бұрын
He is working in LinkedIn ... still he is teaching..great sir...proud to be kannadigas
@abhijitpatwardhan84063 жыл бұрын
Love your videos! One comment about not worrying about clearing out the element when "pop()" is invoked. If this were a stack containing objects (i.e. instances of some class created on the heap unlike primitives) then unless the reference to the popped object is nulled out, the object will not be garbage collected, effectively creating a memory leak. ("Effective Java" by Joshua Bloch-- item 7 talks about this exact scenario.)
@lijalemuregeha22272 жыл бұрын
Very intersting, you really break down things to make an easy grasp. Thank You!!!!
@Teardropper-nm3ht Жыл бұрын
I am getting so much out of these videos, and greatly appreciate what you've done. Something new for me is seeing functions/methods referred to as API's. I'd love it if you could talk about that a little bit. Thanks!
@GenjaOrigins3 жыл бұрын
Thx professor i am trying to get a java job at a company in my hometown. All coding Challenges are important for me. Keep adding more in future please
@srinivasb11445 жыл бұрын
Awesome explanation, you make it look very easy, keep making these interview questions. Thank you very much.
@abhirambandi60913 жыл бұрын
Sir, Make entire Data Structures and algorithms using Java..
@for4612 жыл бұрын
Very Nice Explaination Sir. Thanks. Everyone can understand easily. Awesome.
@gs-rc3eq5 жыл бұрын
Where can I find the code for this ? Can you also run the program and show us the output. Thank you, explanation is good
@siminam.michile46484 жыл бұрын
Thanks so much for the accuracy and patience while explaining each concept!
@raghavanaliassaravananm15465 жыл бұрын
You are a hero Kaushik. Undoubtedly all of your videos of good quality and enlightening and educating! Keep going and my best wishes for you to spread the knowledge world wide!!
@literatebasics63055 жыл бұрын
Hi Kaushik. Its useful video. I am struggling lot in implementing algorithms and data structures at my work. But now i started watching your coding challenge and its worth watching. Please make more videos in your free time for novice like us. Great job again ..... 😊
@ameeralikhan92885 жыл бұрын
I love watching your video simply because you explaining everything in simple words you see most people will use these jargon to show off basically but thing is who has the core knowledge will explain something in most simple words giving simplest of the examples. Second, please make a video on trees i always had tough time remembering it.
@ILuvBilli5 жыл бұрын
Wow, u made a tough coding like a child's play
@seethalakshmiadiga24774 жыл бұрын
Please upload more interview coding challenges..Ur way of explaining amazing
@MousumiDas-pz6zu5 жыл бұрын
awesome.. can you show other data structures implementation as well like hashmap
@toufiqurrahman70255 жыл бұрын
please continue this series
@RishabhDeepSingh5 жыл бұрын
Won't it be good if we use LinkedList as when we initialize a stack we don't know how many elements we are going to have?
@Java.Brains5 жыл бұрын
I prefer arrays because it's the best combination of performance and space efficiency. But yes, you can remove upper-bound limits in both arrays and linked-list approaches
@mkvjaipur3 жыл бұрын
You are a Genius
@davidoparanti4 жыл бұрын
Thank you very much Sir for your selfless efforts in imparting knowledge to others. How are you sir? Please do more of this.
Is ok using List instead Arrays ? What is the difference ?
@vasanthasetty40024 жыл бұрын
Einstein of Java👍
@neha.batham5 жыл бұрын
Well explained, please upload more such videos on ds.
@Krishna425705 жыл бұрын
Superr explanationss...if we doo like the programming questions which were asked in different company drives you will get 10milliin subscribers
@Java.Brains5 жыл бұрын
Thanks! I’m honestly not into the whole subscribers thing. If folks find it useful, that’s a good enough reason! Will try to make more of these
@explorerfl0075 жыл бұрын
@@Java.Brains Great work.
@addy05075 жыл бұрын
Excellent explanation, thank you.
@abhishekbhattarai41914 жыл бұрын
thankyou so much for such a nice explanation!
@phanindraitika56095 жыл бұрын
Good one Kaushik 👍👍 !! Appreciate your effort to educate us!!!
@kalyanalladi5 жыл бұрын
Your videos are nice and clear.
@techbarikcom4 жыл бұрын
Really love this video. Thanks
@siddhantpatil80754 жыл бұрын
Hi how to map request response correctly in multiple clients (multithread) if system is asynchronous.
@orenazuz5 жыл бұрын
Hi I'm sorry to interrupt but if you won't remove the item from the array and jest move the pointer the gc will not remove it for you because it doesn't know that there is no reference to this item so it will stay there forever and you can end up with instances explosion maybe for this example it's ok but generally it's not a good practise implementing stack without cleaning objects. all the best keep on the good job
@prem93945 жыл бұрын
@javabrains thanks for this amazing series!
@manikantaboggarapu55215 жыл бұрын
Awesome explanation.. Just only one query related to Stack class hierarchy in Java. Collection API.. What made the developers to extend the Vector (which is random Access)? This was the question I got asked to.. :(
@dinarafi67995 жыл бұрын
Thread safe
@barslo5 жыл бұрын
I think you should use node insted of array. What you did doesn't test anything.
@Java.Brains5 жыл бұрын
I prefer arrays because it's the best combination of performance and space efficiency. But yes, you can remove upper-bound limits in both arrays and linked-list approaches
@aseemshrestha33545 жыл бұрын
As always good explanation.. but rather than throwing exception, auto resize when stack is full would have been better
@explorerfl0075 жыл бұрын
Arrays cannot be resized after initialized. ArrayList can do that
@_djavs5 жыл бұрын
Keep these coming!
@sunilyadav-xt7op5 жыл бұрын
Nice explanation.... U ok¿? Seems feeling tired.... Hope all okkkk
@prabhatgupta11343 жыл бұрын
STACK can be very easily implemented using LinkedList. Push() will keep calling addFirst() of the underlying LinkedList data structure. Pop() can be implemented by calling removeFirst() of LinkedList. Let me know your thoughts.
@saddamahmad23105 жыл бұрын
thank you very much sir for this video
@polam5115 жыл бұрын
How to find battleship in the 2x2 matrix
@subramanichockalingam56375 жыл бұрын
Love this series ❤ Thanks Koushik
@mohammadosama47095 жыл бұрын
Is this series still progressing ?
@sanjaynatarajan49064 жыл бұрын
Thank a lot man!!
@vinceclarktanola86684 жыл бұрын
Linkedlist and queues please
@gandharvasai74403 жыл бұрын
make the videos on coding more
@AkiZukiLenn4 жыл бұрын
LOL wtf my school need me to learn compose and inherit from linklist too , jess .
@PretheshP3 жыл бұрын
Thx
@cschipg46882 жыл бұрын
TYSM!
@Павел-у7ф2е Жыл бұрын
I think it's easier) static class Stack{ public Stack stack; public Node node; private static class Node{ public Node next; public S val; } public void put(T val){ Node temp = node; node = new Node(); node.val = val; node.next = temp; } public T get(){ T val = node.val; node = node.next; return val; } } @Test void stackTest(){ Stack stack = new Stack(); stack.put(1); stack.put(2); stack.put(3); System.out.println(stack.get()); System.out.println(stack.get()); System.out.println(stack.get()); }
@codecreww3 жыл бұрын
why top is -1 please explain ?
@apparte4623 жыл бұрын
03:05 when you say array you seem sus hahahaha
@romia17533 жыл бұрын
What's an API?
@TheMumbai315 жыл бұрын
Very good explanation 👍
@Java.Brains5 жыл бұрын
Thanks! :)
@chrisnolan82635 жыл бұрын
How do you know the video was good? It was uploaded at the same time you commented. You don't have to kiss the channel guy ass for compliments. Stop whoring around for insignificant KZbin likes/heart
@Java.Brains5 жыл бұрын
That’s a bit harsh. Although I agree that the point is for people to get value out of the content, not likes. Anyway, here’s a heart on your comment to show that no “whoring” necessary for any (albeit insignificant) KZbin points. :)
@truth6565 жыл бұрын
Queue Implementation in java using Array want more patterns ask me: class QueueImplementationUsingArray { int head=0; int tail=0; int insert=0; int dequeuedValue=0; int arr[] = new int[4]; void enqueue(int data) { if(insert>=0 && insert
@chiranjeevisaride5 жыл бұрын
Dude no one asks these type of Algorithm or DS questions in Technical interviews please pick a question from Leetcode.com, geekforgeeks.com, careercup.com
@blasttrash5 жыл бұрын
so true lol
@John-Is-My-Name7 ай бұрын
Is there a reason you did not use an List/Arraylist? my solution was this: public class MyStack { private static ArrayList myStack; public MyStack() { myStack = new ArrayList(); } public static void put(Object object) { myStack.add(object); } public static Object pull() { if (myStack.isEmpty()) { return null; } Object lastElement = myStack.getLast(); myStack.removeLast(); return lastElement; } public static Object peek() { if (myStack.isEmpty()) { return null; } return myStack.getLast(); } }