site address:
leetcodejavascript.com/solutions/min-stack redirected to: leetcodejavascript.com/solutions/min-stack
site title:
#155 - Min Stack - LeetCode JavaScript Solutions
|
|
|
Our opinion (on Wednesday 18 November 2026 23:29:27 UTC):
- no comments
|
|
|
|
Meta tags:
description= Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the MinStack class: MinStack() ...;
keywords= leetcode, javascript, solutions, algorithms, data structures, coding, programming, coding challenges, coding problems, coding solutions;
author= LeetCodeJavascript.com;
Headings (most frequently used words):
155, min, stack, problem, description, solution,
Text of the page (most frequently used words):
stack (18), the (12), this (10), val (8), minstack (7), function (6), return (6), min (5), top (5), element (5), void (4), prototype (4), push (4), length (4), pop (4), number (3), getmin (3), int (3), leetcodejavascript (2), com (2), solution (2), implement (2), time (2), minimum (2), design (2), view (2), github (2), leetcode (2), 155 (2), solutions (2), 2025, josh, crozier, var, param, math, you, must, with, complexity, for, each, retrieves, gets, removes, pushes, onto, initializes, object, class, that, supports, and, retrieving, constant, problem, description, medium, back, all, star, javascript,
Text of the page (random words):
155 min stack leetcode javascript solutions leetcodejavascript com star on github back to all solutions 155 min stack medium view on leetcode view on github stack design problem description design a stack that supports push pop top and retrieving the minimum element in constant time implement the minstack class minstack initializes the stack object void push int val pushes the element val onto the stack void pop removes the element on the top of the stack int top gets the top element of the stack int getmin retrieves the minimum element in the stack you must implement a solution with o 1 time complexity for each function solution var minstack function this stack param number val return void minstack prototype push function val this stack push val min this stack length math min val this getmin val return void minstack prototype pop function this stack pop return number minstack prototype top function return this stack this stack length 1 val return number minstack prototype getmin function return this stack length this stack this stack length 1 min 0 2025 leetcodejavascript com josh crozier
|
|
| Thumbnail images (randomly selected): * Images may be subject to copyright. | |  |
No Images
|
Verified site has: 3 subpage(s). Do you want to verify them? Verify pages:
|
|
|
The site also has 3 references to external domain(s).
|
The site also has 1 references to other resources (not html/xhtml )
|
Pages verified in the last hours (randomly selected):
|
|
Top 50 hastags from of all verified websites.
| |
|
|
|
|
|
|
Load Info| page size | 2601 | | load time (s) | 0.153623 | | redirect count | 1 | | speed download | 17000 | | server IP | 188.114.96.0 |
|
|
|
|
|
|
|
|
* Image may be subject to copyright.
|
|