Тёмный

stack implementation in JavaScript 

techsith
Подписаться 148 тыс.
Просмотров 4,3 тыс.
50% 1

stack data structure in JavaScript | what is stack | Stack Complexity | Stack Interview Questions
#algorithms #DataStructures #stacks
*Code
codepen.io/techsithcode/pen/b...
*My Courses
www.learn.heapskills.com/cour...
www.learn.heapskills.com/cour...
Follow me
* / techsith
* / algoanddsinjavascript
* / techsith
* / techsith1
* / 13677140
* / patelhemil
Help me translate this video.
* ru-vid.com_cs_...
Note: use translate.google.com/ to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Наука

Опубликовано:

 

16 авг 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@winterburn3010
@winterburn3010 2 года назад
Best English pronunciation from India I ever listened! Well done you! 👌
@iteshyt1216
@iteshyt1216 Год назад
Clear and neat explanation
@anonymousshooter3636
@anonymousshooter3636 3 года назад
Your Videos are Awesome :)
@eshw23
@eshw23 Год назад
Broo I wish you still uploaded videos you have amazing content, such a clear explanation.
@harikrishnak7875
@harikrishnak7875 3 года назад
Great work
@Techsithtube
@Techsithtube 3 года назад
Thank you! Cheers! thanks for watching!
@ravi_verma31
@ravi_verma31 2 года назад
You just got a brand new subscriber..only function video on stack otherwise all of them are on using class.. got confused and thought only way is class for stacks implementation of array
@shasankpandey6995
@shasankpandey6995 3 года назад
Hi sir....mailed u my question and also sent u request in linkdin...bdw great tutorial
@Techsithtube
@Techsithtube 3 года назад
I did send you a message just now. Keep up the good work.
@shasankpandey6995
@shasankpandey6995 3 года назад
@@Techsithtube sir you are the God of javascript and u r the ultimate saviour for js learners like us....i wish u a good health and please keeep doing by ur turorials ..ur doing amazing :)
@shubhayughosh2102
@shubhayughosh2102 3 года назад
Huge fan of your video. Please do a tutorial on linked list. thx
@Techsithtube
@Techsithtube 3 года назад
Thanks! Will do!
@micheledibe
@micheledibe 3 года назад
for the function empty(), - would acceptable to implement as "_stack = null; " ? - either way, why do you decrease "_top--" inside the while loop when actually you can do outside the loop as ""_top = -1" ?
@pawandeore6989
@pawandeore6989 3 года назад
Worthy 😉💯
@Techsithtube
@Techsithtube 3 года назад
Pawan, thanks for watching!
@RahulVerma-on7op
@RahulVerma-on7op Год назад
I have one doubt...is push() pop() peek() all are inbuild methods of the stack or we are creating all those methods in this?
@gautambumtaria1281
@gautambumtaria1281 2 года назад
What is different between stack and array ??
@suneethar6329
@suneethar6329 3 года назад
Hello sir, I am front end developer with 9year of experience, what do u suggest me to study to enhance my profile
@Techsithtube
@Techsithtube 3 года назад
Suneetha, it all depends on your professional goal. You can identify your weaknesses and focus on that area and master it. If you are looking for a new job, you may need to focus on algorithm and data structure as well. Anyway DS and algo will help you become a good programmer and further your goal
@arunkaiser
@arunkaiser 3 года назад
Love u 😘😘😘😘😘😘😘
@Techsithtube
@Techsithtube 3 года назад
Appreciate all the love, Keep up the good work and thanks for watching!
@arunkaiser
@arunkaiser 3 года назад
@@Techsithtube 😍😍😍😍😍
@robertkaminski1781
@robertkaminski1781 3 года назад
I don't get it. You can use array as stack, it has push and pop, so it would be better just extend Array class, from the other side if you build custom structure you shuld use linked list, using array is to easy way. This is my linked list stack implementation: jsbin.com/hoduradono/1/edit?js,console
@Techsithtube
@Techsithtube 3 года назад
Yes you can create it for using linked list as well. Or you can use objects. The arrays are closest to a stack so during an interview you want to take an approach that is the easiest so you can finish faster with better time complexity. Also I would have to show how to build linked list first. Maybe once I cover linkedlists I will make another video on this. Thanks for the example
Далее
Tricky JavaScript Interview Questions and Answers
16:35
Stack Data Structure | JavaScript
16:29
Просмотров 96 тыс.
Tricky JavaScript interview questions and answers
21:01
WHY IS THE STACK SO FAST?
13:46
Просмотров 136 тыс.
javaScript call apply and bind
15:23
Просмотров 355 тыс.
How principled coders outperform the competition
11:11
Leetcode Two Sum Solution |  Coding Interview Question
13:03
Throttling in JavaScript
8:13
Просмотров 29 тыс.
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Просмотров 134 тыс.
Неразрушаемый смартфон
1:00
Просмотров 996 тыс.
iPhone 12 socket cleaning #fixit
0:30
Просмотров 40 млн
ЛУЧШИЙ ПОВЕРБАНК ОТ XIAOMI
0:39
Просмотров 16 тыс.