top of page

Data Structures

14 problems · Easy to Medium · Hash maps, stacks, and queues

Knowing which data structure to reach for — and why — is one of the most important skills in a technical interview. This track covers hash maps for O(1) lookup problems, stacks for bracket matching and expression evaluation, queues for BFS and streaming data, and culminates in two classic design problems: Circular Queue and LRU Cache.

Why it matters:

Data structure selection problems are a staple of phone screens at every major company because they reveal whether a candidate thinks about time complexity before writing code. A candidate who reaches for a hash map instinctively when they see a lookup problem thinks differently — and more efficiently — than one who defaults to nested loops.

01

The Two Sum Problem

02

Contains Duplicate – A Warm Up

03

Find the First Non-Repeating Character

04

Valid Anagram

05

Valid Parentheses

06

Min Stack

07

Implement a Queue Using Stacks

08

Evaluate Reverse Polish Notation

09

Group Anagrams

10

Subarray Sum Equals K

11

Longest Consecutive Sequence

12

Contains Duplicate Within K Distance

13

Design a Circular Queue

14

Design an LRU Cache

Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2026 by WhiteboardReady

bottom of page