Data structures coding challenges

Practise data structures with 4 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Easy · 1 Medium · 3

Skills you'll practise: StacksBase casesLinked listsNested dataRAIIRunning minimumSimulation
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
226
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

4 challenges
Medium

Flatten Arbitrarily Nested Lists (Recursion)

Practice recursion by flattening arbitrarily nested lists while skipping null entries.

You'll learn Base casesNested data
Data-structuresRecursion
No solutions yet
Medium

Min Stack

Build a stack that reports its smallest element instantly after any push or pop.

You'll learn StacksRunning minimum
Data-structuresStacks
No solutions yet
Easy

Linked List Operations

Simulate a linked list: add at either end, remove from the front or by value, and reverse it.

You'll learn Linked listsSimulation
Data-structuresSimulation
No solutions yet
Medium

RAII Release Order

Work out the order in which scoped resources are released when their scopes end, as RAII guarantees.

You'll learn RAIIStacks
Data-structuresSimulationStacks
No solutions yet