Skip to content

Pattern Decision Tree

Answer a few questions about your problem to find the right DSA pattern.

Step 1 of ~3-5
Question

What is the primary input data structure?

Look at what the problem gives you as input.