Stacks

Challenges: 5Easy: 2Medium: 2Hard: 1

This Stacks set gathers 5 coding problems, with a mix of 2 easy, 2 medium, 1 hard. They show up in interviews at companies like Careem, SWVL, Amazon, Apple, Microsoft, so you can master the pattern once and recognize it everywhere.

Stacks coding problems

  • Buildings Receiving Sunlight

    Difficulty: MediumAsked by: Careem
  • Valid Parentheses

    Difficulty: EasyAsked by: Careem, SWVL
  • Min Stack

    Difficulty: MediumAsked by: Amazon, Apple, Microsoft
  • Trapping Rain Water

    Difficulty: HardAsked by: Amazon, Apple, Google
  • Valid Parentheses

    Difficulty: EasyAsked by: Amazon, Google, Meta

Asked by

Ready to practice for real?

Work through Stacks problems in the editor, run your code, and check your solution against real test cases.

Practice coding challenges, start free