Có đúng là bạn đang cần tìm bài viết về stack c++ có phải không? Có đúng là bạn đang muốn tìm chủ đề Stack Data Structure in C++ Programming (using arrays) | All Stack Operations | Part – 2 đúng vậy không? Nếu đúng như vậy thì mời bạn xem nó ngay tại đây.
NỘI DUNG BÀI VIẾT
Stack Data Structure in C++ Programming (using arrays) | All Stack Operations | Part – 2 | Xem thông tin về laptop tại đây.
[button color=”primary” size=”medium” link=”#” icon=”” target=”false” nofollow=”false”]XEM VIDEO BÊN DƯỚI[/button]
Ngoài xem những thông tin về laptop mới cập nhật này bạn có thể xem thêm nhiều thông tin liên quan khác do soyncanvas.vn cung cấp tại đây nha.
Kiến thức liên quan đến nội dung stack c++.
Hỗ trợ các đoạn mã đơn giản bằng cách quyên góp – ID UPI của Google Pay – tanmaysakpal11 @ okicici PayPal – paypal.me/tanmaysakpal11 …
Hình ảnh liên quan đếnnội dung Stack Data Structure in C++ Programming (using arrays) | All Stack Operations | Part – 2.
>> Ngoài xem bài viết này bạn có thể xem thêm nhiều Kiến thức hay khác tại đây: Xem thêm kiến thức laptop tại đây.
Nội dung có liên quan đến từ khoá stack c++.
#Stack #Data #Structure #Programming #arrays #Stack #Operations #Part.
[vid_tags].Stack Data Structure in C++ Programming (using arrays) | All Stack Operations | Part – 2.
stack c++.
Mong rằng những Chia sẻ về chủ đề stack c++ này sẽ mang lại giá trị cho bạn. Rất cảm ơn bạn đã theo dõi.
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
i want source code
pop does not return anything in usual
12:00
Bhaiya code bana te time explain na kiya karo bana ne ke baad explain kiya karo zada ache se samajh aata he BTW your content is🔥
Loved it, can you also make one on the same topic using LL
Sir, you have covered all the corners of the topic, even those who don't know the basics can also understand the Stack topic. Thank you very much.
cout<<"Thank you from the bottom of my heart"
why system("cls") not working in vs code
Explanation – ✅
Presentation – ✅
Approach – ✅
Thanks a ton for this video :).
Why are you storing a zero initially on a stack??
Wow ❤️. I did not knew that stack that easy 🙂🔥🔥🔥. Ur logics r so simple and easy to understand.
Incredible bro….
You jzz nailed it
Best source for learnig DSA.
U helped out alot
Can you help me please
The content in this video is very informative !!
Hey Tanmay
In the constructor is it compulsory to assign every array element with zero?
I think implementing stack using vector is better if we are using c++ as programming language
i really appreciate your efforts
Thanks for the video, you did great job
damn that was some great teaching. Thank you very much man.
bro love from pak…
Just one thing to say….Thank You
you're truly a laborious guy. Hats off to you
Great approach and easy to understand because of you. You kept things simple. Just one thing, for someone new, too much information has been fed in a single program. But seriously, very interesting videos.
best video of this topic ever seen on any free or paid platform.
Thankyou for creating this playlist
Legend 🙏
Please don't use sub-title to make video..it makes a disturbance.. sub-title covers the bottom side of video
What if we didn't return any popValue in Stack;
some videos will jut make you fall in love with coding
thank you bhaiya for such awesome tutorials ..
watch how he creates the class Stack and int mian with the switch and everything, after that go back to 6:30 and watch it over again, you will understand everythin much better
I wonder are u a human bcoz effort like this can't done by human
How to modify the array size with a user input?
6:17
Amazing Explanation!
Anyone discovered what have done by (simple snippets) is all about the logics? I find it interesting of simple snippets it's because what he(pro) have done was a bit different from most YouTubers who are using c++ header like #include <stack> to implement stack. I believe that simple snippets had a very good thinking, I mean he can do data structures with his logic thinking without using c++ header just like #include <stack>.
Simple snippets really deserves for likes and subscribes, and even many people can learn from him. Thumbs-up! 👍
thanks alot
your so really good in teaching super clear and not bored i like your videos
Why you define first value -1?
bhaiyya you really help me a lot
after 2 monts finally i undestand stack
thanks a lot bhaiyya
Thank you so much! I am through 10 videos from your playlist and I've learned more than I have in the three CS classes I've taken in university in less than one week!
Please share the code
Woah, didn't know it was that easy
I'm in my first year i know basics of c++ still i got whole concept thanks to u legend ❤️
If anybody is looking for the same code in C language:
#include <stdio.h>
void push(int);
int pop(void);
void display();
int stack[5];
int stacktop=0;
int choice=0,val=0;
int main()
{
do
{
printf("n1.Pusht2.Popt3.displayt4.ExitnSelect your choice:n");
scanf("%d",&choice);
switch(choice)
{
case 1: printf("Enter the element to be pushed in the stack:n");
scanf("%d",&val);
push(val);
break;
case 2: val = pop();
if(val!=-1)
printf("Popped Element: %dn",val); //Here 'break;' is not not used. Therfore, after popping it will automatically display the elements.
case 3: display();
break;
case 4: break;
default:printf("nWrong Choice.");
break;
}
}while(choice!=4);
}
void push(int val)
{
if(stacktop<5)
{
stack[stacktop] = val;
stacktop++;
}
else
printf("nStack Overflow!");
}
int pop()
{
int a;
if(stacktop>0)
{
stacktop–;
a = stack[stacktop];
return a;
}
else
{
printf("Stack is Empty!");
}
}
void display()
{
int i=0;
if(stacktop>0)
{
printf("nElements in the stack are:n");
while(i<stacktop)
{
printf("%dt",stack[i++]);
}
printf("n");
}
else
printf("nStack is Empty!");
}
Source code??
one of the best explanation Thank u so much for such a good video👍
You got one more subscriber😇🎉
The peek method is wrong. We can only access the top element in the stack.
You are awesome! subscribed after watching 1 video
Bro bro bro can't explain in words what you are for us who had fear by DSA and now its like I am enjoying it…….all the topics seem like they are tasks of a game …..its all because of you man ……Hats of to your lots of efforts, your so much time, your energy to create these content …..thnkuu soo much bhai!