Intro to Stacks - Data Structure Explained

2024 ж. 20 Мам.
25 906 Рет қаралды

Learn all about stacks, a common data structure used in computer science. Also learn how to answer coding challenges involving stacks.
Course developed by @DestinationFAANG
⭐️ Resources ⭐️
Most asked Technical Interview Questions: docs.google.com/spreadsheets/...
Github Repo with all the Solutions: github.com/DestinationFAANG/D...
⭐️ Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:01:35) About me
⌨️ (0:02:24) Introduction to Stack
⌨️ (0:04:32) Stack in real world
⌨️ (0:05:08) Basic Operations
⌨️ (0:07:16) Stack implementation
⌨️ (0:10:29) Stack use cases
⌨️ (0:19:06) Daily Temperatures
⌨️ (0:32:52) Evaluate Reverse Polish Notation
⌨️ (0:42:17) Min Stack
⌨️ (0:51:10) Generate Parentheses
⌨️ (1:06:43) Car Fleet
⌨️ (1:26:13) Minimum Remove to Make Valid Parentheses
⌨️ (1:36:51) Valid Parentheses
⌨️ (1:48:03) Largest Rectangle In Histogram
⌨️ (2:05:53) Longest Valid Parentheses
⌨️ (2:21:31) Max Stack
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Пікірлер
  • Thanks a lot freeCodeCamp for posting my course. Really glad to give something back to this awesome community. I would really appreciate if you can support me at my channel as well: www.youtube.com/@DestinationFAANG

    @DestinationFAANG@DestinationFAANG2 ай бұрын
    • @DestinationFAANG need similar type of video for Queue

      @rajaryan5884@rajaryan58842 ай бұрын
    • Working on it. Thanks @@rajaryan5884

      @DestinationFAANG@DestinationFAANG2 ай бұрын
    • @@DestinationFAANG I love the explanation, slow and easy to understand. Can you do more videos similar to this?

      @leozhong9270@leozhong92702 ай бұрын
    • yes, you will see more videos like this soon. @@leozhong9270

      @DestinationFAANG@DestinationFAANGАй бұрын
  • I was searching for a dsa course just now..😂 Thank you fcc❤

    @abhijithsubash6160@abhijithsubash61602 ай бұрын
  • Thank you so much for this video!

    @brandon_wallace@brandon_wallace2 ай бұрын
  • The best code camp for beginners... who all agree ?

    @hackermango@hackermango2 ай бұрын
    • it used to be simplistic... i like how overtime it has become more technical and theoretical information , the technology has become so high level and abstract.. that if u dont go to university... its really hard to learn from top to bottom... for me atleast... im currently implementing oauth2.0 SSO flow, and im sure im doing everything right, but have weird issue in Koa, using node-fetch , SSO resource owner , refuses, to send me aa json paiload back, like ... ;S says syntaxERror : Unexpected end of JSON input... im 100% sure that that fetch body payload is form urlencoded ;S im going crazy already, i ve asked few people, they all say i have written everything correctly, not a single AI model also thinks i have written something wrong.. ;s i even looked up some express examples of other people guides on implementi lets say oauth2 with google, i literally did it the same way as anyone else... does anyone know if node-fetch 3.3.2 is broken on windows platform or smt?... isnt unexpede end of json input like... if json is malformed? does windows and linux have different newline in http post request / response? im starting to think the sso service provider is ignoring oauth2 spec , im just getting either 500 , or a pending Promise ;s wanted to write it myself... i guess im going to just install some Grant lib/framework to do it... wasting too much time ; ] being stuck in such stupid problem... is discouraging... ;s

      @Microphunktv-jb3kj@Microphunktv-jb3kj2 ай бұрын
  • Let's get into this

    @lazarokabira2945@lazarokabira29452 ай бұрын
    • Yeah let's go

      @TANCEUS@TANCEUS2 ай бұрын
  • Wow I love all his plushies!!! Fabulous! My office is the same

    @GodIsLoveEternally888@GodIsLoveEternally8882 ай бұрын
  • Can you do one for queues too please? 🙏

    @user-qp6il7wc5n@user-qp6il7wc5n2 ай бұрын
    • In process

      @DestinationFAANG@DestinationFAANGАй бұрын
  • He is needed in more FCC courses

    @beatmarsgo6972@beatmarsgo697225 күн бұрын
  • 👍

    @rishiraj2548@rishiraj25482 ай бұрын
  • Hello, could you do a tutorial on creating a mobile app for handwriting text recognition?

    @mateusz6190@mateusz61902 ай бұрын
  • Make path learning to full stack web dev, android dev (kotlin) ,iOS dev , mobile dev , etc , for all big categories.

    @Venom-hb6mb@Venom-hb6mb2 ай бұрын
    • Use chat gpt for that lol

      @killerdroid99@killerdroid992 ай бұрын
    • @@killerdroid99 I don’t want use ChatGPT . They are best.

      @Venom-hb6mb@Venom-hb6mb2 ай бұрын
    • @@killerdroid99 I don’t want.

      @Venom-hb6mb@Venom-hb6mb2 ай бұрын
  • @alaaeddine3092@alaaeddine30922 ай бұрын
  • It would be more helpful if implementation of this is in Javascript

    @shaikshahed413@shaikshahed4132 ай бұрын
    • yep I agree

      @tabita333@tabita333Ай бұрын
  • Free stack of cookies

    @Dr_Larken@Dr_Larken2 ай бұрын
  • using python will be best insted

    @shahwaliweb6505@shahwaliweb65052 ай бұрын
  • First person who commented 😂

    @codestudio3099@codestudio30992 ай бұрын
  • who would need this nowadays? especially with AI and today's spec.

    @tisurmaster@tisurmasterАй бұрын
  • Lol first

    @VENOMOP9958@VENOMOP99582 ай бұрын
    • Last out

      @Y2Krieger@Y2Krieger2 ай бұрын
  • The accent is a barrier.

    @DesertVox@DesertVox2 ай бұрын
  • 2.5 hours for stack!! You guys have no life, that is stupid!

    @arsiaghahari7505@arsiaghahari75052 ай бұрын
  • another promosing tutorial ruined by Java...

    @EyeIn_The_Sky@EyeIn_The_Sky2 ай бұрын
KZhead