IB Computer Science - Topic 5 - Part 2 - (Stacks and Queues)

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 22

  • @matthiasbang8776
    @matthiasbang8776 Год назад +2

    you're saving my life with this course thank you dearly

  • @blxnkyy4341
    @blxnkyy4341 Год назад +1

    your saving my life my exam is tomorrow, thanks so much

  • @mondher8242
    @mondher8242 Год назад

    bro you acc saved my life today for my exam today will forever appreciate you

    • @TheCSClassroom
      @TheCSClassroom  Год назад

      Happy to help!

    • @TheOneViralPoint
      @TheOneViralPoint Год назад

      @@TheCSClassroom bro i acc wanna kiss your for carrying my ass in the test. no homo tho but like your actually a g.

  • @menelikchristensen2172
    @menelikchristensen2172 Год назад +1

    this is what i needed thank u so much

  • @jozkobranko7349
    @jozkobranko7349 Год назад

    at 33:04 I did the same thing as you but from my previous exams I always think about putting a out of bound error check in there bc it technically isn't correct, imagine if the name was not in the stack, you would get an error... I guess if you wanted to do it you would add in another if statement and nest all the other ifs within it. In the wrapper function you would check for the bottom of the stack position AND if the names don't match return?

  • @you-l5e
    @you-l5e Год назад +1

    FInally...✨

  • @rebalakar9989
    @rebalakar9989 Год назад

    Day before my exam :))

  • @蔥抓餅-l4y
    @蔥抓餅-l4y Год назад

    can anyone explain how is I used in the question at 11:20?

  • @matthiasbang8776
    @matthiasbang8776 Год назад

    43:07 shouldn't be that the stack reverses the order of the queue numbers?

    • @TheCSClassroom
      @TheCSClassroom  Год назад +1

      It does, in my code I just output the values instead of putting them back in the queue like the markscheme. This is what you're referring to, right?

    • @matthiasbang8776
      @matthiasbang8776 Год назад

      @@TheCSClassroom yes, I was confused but now I get it

  • @tache1715
    @tache1715 Год назад

    Hey, shouldnt at 34:09 the Queue say "the first element to be "enqueued" is the first to be "dequeued"?

    • @TheCSClassroom
      @TheCSClassroom  Год назад +1

      Yes, apologies for the confusion 🙏

    • @tache1715
      @tache1715 Год назад

      @@TheCSClassroom No worries! By the way, are you planning on making a video for Option B before Timezone B exam?

  • @safaumer7826
    @safaumer7826 Год назад

    savior

  • @goober09
    @goober09 Год назад

    thanks man, these videos are great help

  • @zainabfayyaz6212
    @zainabfayyaz6212 Год назад

    When will part 3 come out?

  • @Zawgs
    @Zawgs Год назад

    God's work