Questions / OKX

Min Stack (Basic Data Structure Exercise)

Asked at OKX · Coding Questions · Difficulty: Easy

Implement a data structure that supports the following commands and reports the results in order:

Loading the problem…

More OKX interview questions

  • Sort Colors
  • Restore IP Addresses
  • Design Linked List
  • Two-Team Turn-Based Battle Simulator
  • Toy Language Type System
  • Grid Infection and Immunity Simulation
All OKX questions