Difference between Linear queue and Circular queue ||

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

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

  • @EducationSafal
    @EducationSafal  9 месяцев назад +2

    Do like , Share and Subscribe 🙏🙏

  • @rabiulmallick8991
    @rabiulmallick8991 Месяц назад +2

    Are circular me vi to fifo hi follow hota hai

    • @EducationSafal
      @EducationSafal  Месяц назад +2

      yes , A circular queue follows the FIFO principle, where elements are inserted at the rear and removed from the front. It efficiently reuses space by allowing insertion at any empty spot once the end of the queue is reached, wrapping around circularly.
      that line is incorrect but what i actually want to tell is that we can add at all the empty spot in circular queue but in linear there may be empty spot . So basically , In a linear queue, empty space may exist at the front after dequeuing elements, but it cannot be reused for new insertions due to the fixed front-to-rear progression.
      Sorry for confusion ! Thank you

  • @Abbasi.101
    @Abbasi.101 2 месяца назад +2

    Practice karo abi

  • @safalnp
    @safalnp 6 месяцев назад +2

    mapani safal ho 😂

    • @EducationSafal
      @EducationSafal  6 месяцев назад +1

      hora ! kripaya sabhye bhasa prayog gardinuhos

    • @safalnp
      @safalnp 6 месяцев назад +2

      @@EducationSafal ok sorry 😞