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 » What is the time efficiency of the push(), pop(), isEmpty() and peek() operations of Stacks?
Blog

What is the time efficiency of the push(), pop(), isEmpty() and peek() operations of Stacks?

by Rubin|Published July 6, 2022

Stack is a linear data structure that follows the LIFO (last in first out) order i.e., the data are entered from one end and while… Read More

The post What is the time efficiency of the push(), pop(), isEmpty() and peek() operations of Stacks? appeared first on GeeksforGeeks.

You may also like

How to remove similar elements from beginnign of each line in a text file using sed or similar?
Published March 5, 2023

How to remove similar elements from beginnign of each line in a text file using sed or similar?

I have text like this: UgxJam3R6oHGHJMrbHx4AaABAg,,hqJGuSXaWcY,UCkhUJbKZIZsARJx7UsX7nw,NAME,https://URLYOUDONTNEEDTOSEE,2023-03-03T22:45:53,Sometextineed,1,false,0, and I want to use sed or something to remove and make it like this: https:/blablabl.com/UCkhUJbKZIZsARJx7UsX7nw,NAME,2023-03-03T22:46:53,Sometextineed […]

Published December 25, 2021

How to write and save changes to “/etc/fstab” after effectively breaking the “/etc/fstab” on my system. Can only boot to basic terminal

To make a long story short, and to focus the question, I basically need to get root access to my own laptop […]

Reimaging the LCMD AI Pod
Published August 23, 2026

Reimaging the LCMD AI Pod

I’m not fond of the default OS of the LCMD AI Pod. I’m wondering if I can install a new OS while […]

100% errors from memtest86 after series of power surges; more likely to be motherboard or RAM?
Published December 20, 2021

100% errors from memtest86 after series of power surges; more likely to be motherboard or RAM?

The power grid where I live is unreliable, and we frequently have interruptions (and presumably surges). I usually have a UPS protecting […]

Interesting

  • A customer fills their cart, enters shipping details, and clicks Place Order.
  • Magento 2.4.7 store, 15k products: product pages rank, category pages stuck at pos. 18-25 for two years
  • how to set Catalog Price Rule per Store View in magento 2
  • How can I see which plugins my organization requires in the GitHub Copilot desktop app?
  • Dual-boot or completely replace the default OS (Windows 11) with Linux? [closed]
  • How to run Batch files on a NAS device?
  • Kubuntu keyboard layout shortcuts Ctrl+Shift+[number] are mapped to Ctrl+[Shift+number symbol in current layout], not usable in other layouts
  • Stream Video from One Device on LAN and access from others using VLC

Post navigation

  • Previous post An easy way to separate my desktop PC from my wireless devices?
  • Back to post list
  • Next post Longest Subsequence with equal 0s and 1s and all 0s before all 1s
——————-
  • A customer fills their cart, enters shipping details, and clicks Place Order.
  • Magento 2.4.7 store, 15k products: product pages rank, category pages stuck at pos. 18-25 for two years
  • how to set Catalog Price Rule per Store View in magento 2
  • How can I see which plugins my organization requires in the GitHub Copilot desktop app?
  • Dual-boot or completely replace the default OS (Windows 11) with Linux? [closed]
——————-
  • 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