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 » Design a dynamic stack using arrays that supports getMin() in O(1) time and O(1) extra space
Blog

Design a dynamic stack using arrays that supports getMin() in O(1) time and O(1) extra space

by Rubin|Published July 1, 2021

Design a special dynamic Stack using an array that supports all the stack operations such as push(), pop(), peek(), isEmpty(), and getMin() operations in constant… Read More

The post Design a dynamic stack using arrays that supports getMin() in O(1) time and O(1) extra space appeared first on GeeksforGeeks.

You may also like

Ubuntu: Using local joystick /dev/input/js0 on remote machine
Published July 4, 2021

Ubuntu: Using local joystick /dev/input/js0 on remote machine

My desktop (server) runs Ubuntu 16.04 and my Jetson Xavier NX (client) runs Ubuntu 18.04. A plug&play joystick is physically connected to […]

why am i seeing “&#65279” in my WebPage when i use include or require function?
Published November 6, 2019

why am i seeing “&#65279” in my WebPage when i use include or require function?

submitted by /u/sandy_patel [link] [comments]

Published December 18, 2021

Cart price rule apply coupon discount for all product not only selected sku magento 2

i have cart price rule ( coupon Code)for 6 products which is working fine but when we add product not under the […]

Configuring IPv4 interaction on an IPv6-only server
Published November 4, 2022

Configuring IPv4 interaction on an IPv6-only server

I have an IPv6-only virtual server. I can connect to it via SSH or use ping6, but I can’t work with IPv4. […]

Interesting

  • Refactor code create cron Magento 2.4.3 to 2.4.7
  • Magento 2.4.7-p3 Deprecate class ActionAction and constructor parent::__construct($context);
  • Catalog Search Product Status Stock
  • cosmicsting security patch for magento 2.4.0
  • Setting config values for integration tests
  • Can’t disable “password required” when exiting my screensaver (Mac)
  • how to ffmpeg encode as 6-bit color?
  • RPI: Use a WiFi AP to broadcast the RPI local network

Post navigation

  • Previous post Maximize sum that can be obtained from two given arrays based on given conditions
  • Back to post list
  • Next post Category Url Not Found in Multi store
——————-
  • Refactor code create cron Magento 2.4.3 to 2.4.7
  • Magento 2.4.7-p3 Deprecate class ActionAction and constructor parent::__construct($context);
  • Catalog Search Product Status Stock
  • cosmicsting security patch for magento 2.4.0
  • Setting config values for integration tests
——————-
  • 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

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme