Online Assessment2026-08-17
Stack it
AI-Expanded — inferred from the question title, not from the original candidate report
Design a data structure that supports push, pop, and top operations, and additionally includes a function to retrieve the minimum element in the stack in constant time. Ensure that all operations, including the retrieval of the minimum value, perform with O(1) time complexity.
Context & Summary
Conducted virtually, consisting of 4 coding questions and 31 MCQs covering Computer Science Fundamentals.
💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.
Loading editor...
AI can automatically infer and generate example test cases for this question based on standard algorithmic constraints.
InterviewDigest