Design a Calculator with Undo/History Operations
Filed under Flipkart
The question
Design a calculator with basic arithmetic operations that can store the last five operations and allow users to modify any stored operation, choosing suitable data structures and explaining the tradeoffs.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.