Тёмный

stack implementation in JavaScript 

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

stack data structure in JavaScript | what is stack | Stack Complexity | Stack Interview Questions
#algorithms #DataStructures #stacks
*Code
codepen.io/tec...
*My Courses
www.learn.heap...
www.learn.heap...
Follow me
* / techsith
* / algoanddsinjavascript
* / techsith
* / techsith1
* / 13677140
* / patelhemil
Help me translate this video.
* www.youtube.co...
Note: use translate.goog... to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Наука

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@winterburn3010
@winterburn3010 2 года назад
Best English pronunciation from India I ever listened! Well done you! 👌
@iteshyt1216
@iteshyt1216 2 года назад
Clear and neat explanation
@harikrishnak7875
@harikrishnak7875 3 года назад
Great work
@Techsithtube
@Techsithtube 3 года назад
Thank you! Cheers! thanks for watching!
@anonymousshooter3636
@anonymousshooter3636 4 года назад
Your Videos are Awesome :)
@RahulVerma-on7op
@RahulVerma-on7op 2 года назад
I have one doubt...is push() pop() peek() all are inbuild methods of the stack or we are creating all those methods in this?
@shasankpandey6995
@shasankpandey6995 4 года назад
Hi sir....mailed u my question and also sent u request in linkdin...bdw great tutorial
@Techsithtube
@Techsithtube 4 года назад
I did send you a message just now. Keep up the good work.
@shasankpandey6995
@shasankpandey6995 4 года назад
@@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 :)
@micheledibe
@micheledibe 4 года назад
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" ?
@shubhayughosh2102
@shubhayughosh2102 4 года назад
Huge fan of your video. Please do a tutorial on linked list. thx
@Techsithtube
@Techsithtube 4 года назад
Thanks! Will do!
@eshw23
@eshw23 Год назад
Broo I wish you still uploaded videos you have amazing content, such a clear explanation.
@gautambumtaria1281
@gautambumtaria1281 3 года назад
What is different between stack and array ??
@pawandeore6989
@pawandeore6989 4 года назад
Worthy 😉💯
@Techsithtube
@Techsithtube 4 года назад
Pawan, thanks for watching!
@robertkaminski1781
@robertkaminski1781 4 года назад
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 4 года назад
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
@suneethar6329
@suneethar6329 4 года назад
Hello sir, I am front end developer with 9year of experience, what do u suggest me to study to enhance my profile
@Techsithtube
@Techsithtube 4 года назад
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 4 года назад
Love u 😘😘😘😘😘😘😘
@Techsithtube
@Techsithtube 4 года назад
Appreciate all the love, Keep up the good work and thanks for watching!
@arunkaiser
@arunkaiser 4 года назад
@@Techsithtube 😍😍😍😍😍
@ravi_verma31
@ravi_verma31 3 года назад
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
Далее
ES2021
20:18
Просмотров 13 тыс.
Avaz Oxun - Yangisidan bor
14:29
Просмотров 333 тыс.
Stack Data Structure | JavaScript
16:29
Просмотров 98 тыс.
React data fetch with suspense  | concurrency mode
19:43
Array.from  Method in JavaScript
12:09
Просмотров 37 тыс.
Throttling in JavaScript
8:13
Просмотров 29 тыс.
The Home Server I've Been Wanting
18:14
Просмотров 52 тыс.
Top Tricky JavaScript Interview Questions and Answers
15:42
Tagged Template Literals JavaScript
10:48
Просмотров 9 тыс.
Wi-fi с бесконечным паролем 😱
0:18
iPhone 16 Pro Max - Ochib ko'ramiz
10:54
Просмотров 163 тыс.
Hardware tools repair tool high performance tool
0:16