Didi aapki vedio late aathe h tho flow tute jata h 😂 m kishe kishe cours ki aur jata hu firr aapka vedio aa jata h aur firr m yahe continue karta hu didi pls thoda sa jaldi jaldi bana upload krr do🥰 pls pls
I just want to let you know that, there is a problem with the code i.e the use of the static keyword for the head variable in the Stack class makes it a class-level variable, shared across all instances of the class. This means if you create multiple instances of the Stack class, they will share the same head, which can lead to issues when working with multiple independent stacks. To have multiple independent stacks, you should make the head variable non-static. Each instance of the Stack class should have its own instance variable for head.And eventually all the methods should be non static to access the head variable.
@@palakmeena3441 if we make all the methods and the stack class non static, then main will raise an error, since main is static and is trying to access a non static class and its methods. I think the only way to get around this is to implement the stack class in a different .java file within the same package, compile seperately and use them.
No need to make different stack class. Just include function directly in StackClass class similarly like the implementation of LinkedList in previous videos
Please update the course on a frequent basis if possible. It's not really helping anymore to go along with this course only, C++ course was delivered in afar better manner. Felt it so expressed it, but really a humble request only, if anything. Please update the course as the lectures as always are really helpful.
Please add ENGLISH CAPTIONS. I planned to learn Hindi language but not immediately, But Now I am trying to learn hindi language immediately only because of these lectures. Still it took more time to learn hindi and i understand these videos. Please add ENGLISH captions🙏
दीदी एक ऐसा कॉलेज का नाम बतलाइए जिसमें सभी facilities available हो!!! क्योंकि मेरा college में कुछ स्पोर्ट्स facilities नहीं है!! पढ़ाई के बाद खेलने का man करता है वो भी man खराब हो जाता है!!!
Didi I am in 1st semester of my college and from next semester our University is introducing C++ and making account of every student on CodeChef. And I don't know anything what to do ??? Please help ....
sis please make complition of this course a bit faster , atleast upload a couple of vidios in a week, really appreciate your efforts a lot of love & restect...........................
Mam, push at bottom wale question me hu arraylist use krke ek method (pushAtBottom)defined krke arraylist ki addFirst wale method ko call krke s.pushAtBottom(data); to kya ye shi hoga? mam iski time complexity bhi O(n) hi hoga..
29:15 i am getting error in every time ,when i write pushaAtBottom(data,s) Here the error is in "data" it show " data can not be resolved "... Please help me guys
in push at bottom of stack problem i didn't understand how the top is being pushed back into the stack , as top is integer variable i'm thinking the value stored in it will be updated after each recursion call , so where the popped elements 3,2,1 will be stored ? so that we can push back into stack
If you can solve sum of elements in array using recursion , then you can understand that every call will be stored in a stack and while returning it will backtrack to original one
im guareenting you... you will undertand everything only when you will write PushAtBottom steps at each recursion. Then only you will understand everything... i was also thinking it was very hard but after writing steps by step everytime it became easy and easy.
@17.08 // print public static void print() { if(isEmpty()) { System.out.println("null");; } else { Node currNode = head; while(currNode != null) { System.out.print(currNode.data+" "); currNode = currNode.next; } System.out.println(); } } Its better that we use a print function for printing elements where our elements are also preserved and stack not get empty.
Hi, Thanks for the explanation, it was awesome Could you please check the uploaded practice questions notes once, it seems it is not accessible Thank you :)
the pop() function is returning a value.. but in the code.. we are not storing the value returned by the pop function in any variable. Can you explain this why? Is it because the pop function is static??
Bhaiya ye course bhi complete hoga ya baaki courses ke tarah aadhe main you will leave and introduce some new course? Because the videos for this playlist are not coming!!!😩
Yes didi please... Vedio aur bnaye data structure ke basik je bare me... Jo coding hoti h stract autr tree me ek bi samjh nhi aati h unki thoda easy me pahle u ka use btaye fir code please didi samjh nhi aa rha h....
In the stack using arraylist im getting the error "The method push(int) is undefined for the type StackClass.Stack The method push(int) is undefined for the type StackClass.Stack The method push(int) is undefined for the type StackClass.Stack The method push(int) is undefined for the type StackClass.Stack The method peek() is undefined for the type StackClass.Stack The method pop() is undefined for the type StackClass.Stack" How to make it work?
bhai jabb khud question ho jata hai to maza hi kuch or hota hai itna self - confidence a jata hai ki nasa hack krdunga !
hack hua?
@@anshgupta10304 lmao
@@anshgupta10304 lol
15:10 this head again n again makes me remember Travis Head on 19th November 2023 😢
grow up kid
aapka naam dekh ke sushant aur rahane dono ki yaad aa gayi
Please upload atleast one lectures per day.
itni late lectures aayegi ti java complete karne me bahut time lg jayega .
Please consider it.👍👍
what an amazing expressive teacher, i dont know perfect hindi still iam able to understand by your actions
Didi aapki vedio late aathe h tho flow tute jata h 😂 m kishe kishe cours ki aur jata hu firr aapka vedio aa jata h aur firr m yahe continue karta hu didi pls thoda sa jaldi jaldi bana upload krr do🥰 pls pls
Aj bhi log video ko vedio likhe h😅
sunke accha laga
@@meme_Overflow Haha
@@meme_Overflow pad k
@@meme_Overflow log padhne ko sunna likh rhe hai ye dekh kr bhi acha laga 😂
@@rickygill7608 😂😂😂😂😂😂
Thank you updating the java series
Didi your lectures are always helpful. Thank you for this wonderful course.
This java course is beyond lit 🔥
I just want to let you know that, there is a problem with the code i.e the use of the static keyword for the head variable in the Stack class makes it a class-level variable, shared across all instances of the class. This means if you create multiple instances of the Stack class, they will share the same head, which can lead to issues when working with multiple independent stacks.
To have multiple independent stacks, you should make the head variable non-static. Each instance of the Stack class should have its own instance variable for head.And eventually all the methods should be non static to access the head variable.
still it is showing error...???
If you want to solve your problem let me know send you the code
@@palakmeena3441 if we make all the methods and the stack class non static, then main will raise an error, since main is static and is trying to access a non static class and its methods. I think the only way to get around this is to implement the stack class in a different .java file within the same package, compile seperately and use them.
No need to make different stack class. Just include function directly in StackClass class similarly like the implementation of LinkedList in previous videos
Yrr ap bht mehnat krti ho . Appreciate your work 😊
My kids will remember your work
✨✨
You'll make history 🔥⭐
Bhaiya web development ki series please full stack tk lekr jana... Really bhut helpful series h.... Dil se thank you❤.
Hands down the best Java course out there.
what do you think when it will be completed ?
@@kushvendar2856 I mean I can't answer that but it might take sometime cause it takes time to create videos with great quality.
@@mbilal11097 totally agree but i wanted to know a rough idea may be i mean how much more is left to cover
bro this course was completed 1.5 years ago where are you both today please share ur experience ur present situation @@mbilal11097
Didi please upload videos frequently.. I want to. Learn and your course is helping me alot.. And thank you for this..
aapka padhane ka tarika lajawab hai mam aapka har ek point samjh aata hai aapne mam Hash tab pr v ek vedio bana dijiye
Apni didi best hai😍😍
Please update the course on a frequent basis if possible.
It's not really helping anymore to go along with this course only, C++ course was delivered in afar better manner.
Felt it so expressed it, but really a humble request only, if anything. Please update the course as the lectures as always are really helpful.
Didi aap bahut accha samjhatee hai
#Apna College & shradda didi rocks
कितने यहां पर मेरे जैसे महानुभाव है जो रवीश कुमार जी का प्राइम टाइम तो जरूर देखते हैं,,, please tell me 🙏🙏
best videos thank you didi 😃😃😃😃🥰
Nicely Explained, Waiting for your tree tutorial...
Thankyou ma'am 🙏🙏
your way of teaching is excellent 👌👌💯💯
I love you di ❤️ you are the best teacher May Allah swt bless you ✌️✨
Your vedio is so helpful keep up ❤❤❤❤🇵🇰🇵🇰🇵🇰🇵🇰
27:00 Can't we just traverse the stack and add the element at the end? because we have the head node
thank you so much di. i never seen this type explanation ❤️👍. fortunately I just started the stack DS now see your video came 😁👍 thanks a lot👍
ap vhi rahul h kya ho neha k pichhe pde h😍😂
I was nice explaination. Clearified in very simple way.
Please lecture continue way m upload kriye it's really helpful
Very nice didi thanks 😊😊
Love your intro sir ❤
Nice explanation thankyou 🙏🏼
Apake channel pe or videos kisi or teachers ki h sch me kuch smjh NH aata. Diii aap jitaa ache se pdhate ho wo mssttt lgta h 😄😄 dii
Mam thnku and respect u ❤🙏
Moral of the story is Didi loves Recursion and newcomers hate Recursion...😂😂😂😂😂😂😂
please upload the lecture on weekly basic it is really helping in clearing the concept.
Please add ENGLISH CAPTIONS.
I planned to learn Hindi language but not immediately, But Now I am trying to learn hindi language immediately only because of these lectures. Still it took more time to learn hindi and i understand these videos. Please add ENGLISH captions🙏
Didi aap bsc maths ke baad career ke bare me bataye ❣️❣️
Love you dear didi
दीदी एक ऐसा कॉलेज का नाम बतलाइए जिसमें सभी facilities available हो!!! क्योंकि मेरा college में कुछ स्पोर्ट्स facilities नहीं है!! पढ़ाई के बाद खेलने का man करता है वो भी man खराब हो जाता है!!!
Didi I am in 1st semester of my college and from next semester our University is introducing C++ and making account of every student on CodeChef. And I don't know anything what to do ??? Please help ....
th-cam.com/video/oveFRMzzkpM/w-d-xo.html C++ series 👍
wao mam bhut aacha padhati hai aap .... 2-3 bar video dekhi but kuch bhi smj ni aaya.
thank you .
tere bs ki nhi hai sozaa
Why Node class and Stack class are static?
Bhai answer mile to bta Dena
can you please make a string playlist video from basic to advance solving datastructure questions on strings
Mam full video nahi hai ye 😢
Where stack used?? What is application of stack??
Very nice explanation
5:12 bahot dukhad tha😢😂
what would be complexity of reverse function?
Reverse a stack agar space complexity O(1) ho to phir ?
We can create a stack without LinkedList or ArrayList with the help of Stack class.
fantastic.......
Didi ye VS code ke side me testing terminal kese late hai. jese apke me aarha hai
Cph extension se
sis please make complition of this course a bit faster , atleast upload a couple of vidios in a week, really appreciate your efforts a lot of love & restect...........................
Which statement should I add if I want to delete duplicate numbers in linkedlist?
You guys are awesome 🎉👍👍
Thank you 🥰
Stack s = new Stack();
Stack s2 = new Stack();
s.push(1);
s.push(2);
s.push(3);
// pushatbtm(4,s);
while(!s.empty()){
s2.push(s.peek());
s.pop();
}
// Collections.reverse(s);
System.out.println(s2);
please update the playlist really need further content.
Please make video on VS CODE and MINGW setup
Mam, push at bottom wale question me hu arraylist use krke ek method (pushAtBottom)defined krke arraylist ki addFirst wale method ko call krke s.pushAtBottom(data); to kya ye shi hoga? mam iski time complexity bhi O(n) hi hoga..
29:15 i am getting error in every time ,when i write pushaAtBottom(data,s)
Here the error is in "data" it show " data can not be resolved "...
Please help me guys
Are maam application of array kya h?😊
Thanks a lot for this lecture. But di please complete the playlist.
8:02 ,14 July, 1 st video,
dreamlm 7:34,red hint,14 july
Mam , my code is stuck inside infinte loop when i implement the stack by arrayList
what if i try poping an element in empty , it shows list is out of bound. bcs we are calculating it by using size().
in push at bottom of stack problem i didn't understand how the top is being pushed back into the stack , as top is integer variable i'm thinking the value stored in it will be updated after each recursion call , so where the popped elements 3,2,1 will be stored ? so that we can push back into stack
It happened due to backtracking ..you should learn how code works on recursion
If you can solve sum of elements in array using recursion , then you can understand that every call will be stored in a stack and while returning it will backtrack to original one
im guareenting you... you will undertand everything only when you will write PushAtBottom steps at each recursion. Then only you will understand everything... i was also thinking it was very hard but after writing steps by step everytime it became easy and easy.
🙏🏻🙏🏻🙏🏻Mam pls continue the java course pls 🙏🏻🙏🏻🙏🏻
Didi what's is the name of extension which you have used to see output in this particular vidieo ???
@Apna college
ma'am plz help how to learn or practices data structure and algo in C language plz suggest me DSA in C language
buy paid course of apna college it is worthy
dii question no 1 mai stack over flow ho jaiga so i think we should create object for calling with another variable except s in main part
Awesome video👍👍 can you change the vs code background to light(white) color for a better user experience
Good going 🔛
Why in last question we need to take reverse of empty stack?
Ma'am can you provide more lecture On DSA it's helpful for us.
Really....The way she teaches everything gets clear, her way of teaching is perfect 👌
@17.08
// print
public static void print() {
if(isEmpty()) {
System.out.println("null");;
}
else {
Node currNode = head;
while(currNode != null) {
System.out.print(currNode.data+" ");
currNode = currNode.next;
}
System.out.println();
}
}
Its better that we use a print function for printing elements where our elements are also preserved and stack not get empty.
-1 is symbol of stack empty in real time programming so -1 method is good method
@@gamingdipesh8389 Thanks 👍🏻
I am not understanding how the recursion will work here. Timestamp 30:00
Can you please explain that?
Bro have u understood this yet😟
No didn’t had chance to go through the video again
Thank You !
we can use addlast method from linkedlist to push element at the bottom of the stack
mam can't we display the stack elements without calling pop() method??....means if we want to just display the stack elements but not to delete them
use peek() function
@@tanmaychaudhary2801 peek() function returns only top element right mam....but if we want to display all elements then??
Hii......Can we use this for push bottom of the stack
s.push(1);
s.push(2);
s.push(3);
Collections.reverse(s);
s.push(4);
Collections.reverse(s);
No because stack is one side open and first in first out and first in last out is in queue
Hi,
Thanks for the explanation, it was awesome
Could you please check the uploaded practice questions notes once, it seems it is not accessible
Thank you :)
Where will I practice questions of stack
Can we implement first stack ques with linked list ?
the pop() function is returning a value.. but in the code.. we are not storing the value returned by the pop function in any variable. Can you explain this why? Is it because the pop function is static??
exactly I Was thinking also how the output is coming while in the recursion we have pop out the element.
you have created a object for stack class which is static class how is its possible?...am unable to run that code at last
Yes, we can create the instance/object of stack class because it is a static inner class.
which IDE you used ??
Thank you so much
Why Stack class and the methods were done 'static'? #question
Mam full video nahi hai ye
User input kaisa le ?
Bhaiya ye course bhi complete hoga ya baaki courses ke tarah aadhe main you will leave and introduce some new course? Because the videos for this playlist are not coming!!!😩
Padrne ka man nhi tha .. appko dekhne aa gya
Is it the last video of the java playlist or will new videos be added?
Kya me us me computer science degree leke software Engineering ban sakta hu ??
Didi please...jis flow me aapne c++ placement course k videos upload kiye the vaise hi java placement course k videos upload kar dijiye....
Di mujhe apse kuch jhankari leni thi data science ke according kya kru
Thanks dii
Great explanation.
Make more videos on data structure and algorithm please.
Yes didi please... Vedio aur bnaye data structure ke basik je bare me... Jo coding hoti h stract autr tree me ek bi samjh nhi aati h unki thoda easy me pahle u ka use btaye fir code please didi samjh nhi aa rha h....
In the stack using arraylist im getting the error
"The method push(int) is undefined for the type StackClass.Stack
The method push(int) is undefined for the type StackClass.Stack
The method push(int) is undefined for the type StackClass.Stack
The method push(int) is undefined for the type StackClass.Stack
The method peek() is undefined for the type StackClass.Stack
The method pop() is undefined for the type StackClass.Stack"
How to make it work?
use the frameworks also vs code main mat kr questions directy jaa leetcode
Plz mujhe eski pdf access krne m help kr do koi yeh open hi nhi ho rhi h or dsa ki pure playlist h es chhanel pr