Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Why and when to use Stack or Queue instead of Arrays/Lists?
Blog

Why and when to use Stack or Queue instead of Arrays/Lists?

by Rubin|Published June 18, 2022

Stack: A stack is a linear data structure in which elements are accessed, inserted and deleted from one end called the top of the stack.… Read More

The post Why and when to use Stack or Queue instead of Arrays/Lists? appeared first on GeeksforGeeks.

You may also like

Why doesn’t my “usr-local.mount” unit start automatically as expected?
Published December 8, 2025

Why doesn’t my “usr-local.mount” unit start automatically as expected?

I have created the following mount unit : # /etc/systemd/system/usr-local.mount [Unit] Description=Mount /usr/local After=local-fs.target [Mount] What=LABEL=”/usr/local” Where=/usr/local Type=ext4 Options=defaults [Install] WantedBy=multi-user.target But […]

How to create your own personal macro tab?
Published November 26, 2024

How to create your own personal macro tab?

I have seen Macro templates created by the developer team that i work with and tried my hand at making my own […]

Microsoft Interview Experience for Software Engineering Intern 2022
Published August 20, 2021

Microsoft Interview Experience for Software Engineering Intern 2022

Hey there! I recently went through the internship process at Microsoft for the SDE Intern role. Through this blog, I would like […]

How to use ffmpeg to convert nv12 to bgra with hwaccel on intel GPU
Published April 8, 2023

How to use ffmpeg to convert nv12 to bgra with hwaccel on intel GPU

I am new to video processing and recently started working on capturing camera content from rtsp h265 15fps 800×448 2000kbps and projecting […]

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post To customize on screen display of icons while pressing fn keys
  • Back to post list
  • Next post How to iterate a Multidimensional Array?
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme