Design stack with O(1) minimum query

Quick Overview

This question evaluates understanding of stack-based data structures, constant-time operation constraints, and handling edge cases such as empty queries, duplicate entries, and negative values.

Design stack with O(1) minimum query

Company: Anthropic

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: This question evaluates understanding of stack-based data structures, constant-time operation constraints, and handling edge cases such as empty queries, duplicate entries, and negative values.

|Home/Coding & Algorithms/Anthropic
Anthropic logo
Anthropic
Feb 1, 2026
hardSoftware EngineerTechnical ScreenCoding & Algorithms
62
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...