Illustration of a learner reviewing their progress chart beside a laptop and a pile of books

PyC++JS

Practise DSA and competitive programming with problems matched to your level, and grow alongside people who solve for fun.

Your progress

Easy90+
Medium60+
Hard30+

500+

Problems
and counting

def two_sum(nums, k):

seen = {}

for i, x in enumerate(nums):

if k - x in seen:

return [seen[k - x], i]

Run code

Practice built around you,not a fixed problem list

Dynamic Mode reads how you solve and serves the next problem that fits, across DSA and competitive programming.

Trusted by learners solving daily

01 · DSA

Problems

500+ total

AllEasyMediumHard
  • 1Two SumEasy52%
  • 20Valid ParenthesesEasy41%
  • 56Merge IntervalsMedium47%
  • 3Longest SubstringMedium35%
  • 139Word BreakMedium46%
  • 4Median of Two ArraysHard39%
  • 70Climbing StairsEasy53%
  • 200Number of IslandsMedium58%
  • 207Course ScheduleMedium46%
  • 146LRU CacheMedium43%
  • 23Merge k Sorted ListsHard52%
  • 153SumMedium36%

02 · Community

CodeHurdle

Channels

  • announcements
  • general
  • dsa-help
  • weekly-contest
  • show-your-work
  • interview-prep
  • Study room
  • Mock interviews
dsa-help
  • A

    Aarav 10:42

    Anyone solved today’s DP one with O(n) memory?

  • M

    Mei 10:44

    Yes, roll the array: only the last row matters.

    dp[i % 2][j]
  • S

    Sam 10:45

    That cut my runtime in half, thanks.

  • R

    Riya 10:51

    Posted a walkthrough of the two-pointer trick for 3Sum in #show-your-work.

  • A

    Aarav 10:53

    Nice, the dedupe step finally clicked for me.

    while l < r:
  • K

    Kenji 10:58

    Weekly contest starts in 20 minutes, who is in?

  • M

    Mei 11:00

    Count me in. Warming up with a quick Dynamic Mode set.

  • S

    Sam 11:02

    Same. Anyone want to pair on the graph problem after?

  • R

    Riya 11:04

    I will join the study room, voice on.

Message #dsa-help

03 · Dynamic

Dynamic Mode

This week

Level

14

2 levels
  • Arrays82%
  • Graphs54%
  • Dynamic programming31%

Next up

Number of Islands

78% match

Recently solved

  • Two SumEasy · 4 min
  • Merge IntervalsMedium · 18 min

Frequently asked questions

Quick answers about how CodeHurdle works. Need more? Ask in the Community.

  • A place to practise data structures, algorithms and competitive programming, with problems matched to your level and a community of people solving alongside you.

  • Dynamic Mode watches how you solve and serves the next problem that fits, so you are stretched without being stuck. Each pick shows how well it matches your current level.

  • DSA Hub holds curated problems and learning paths for building fundamentals. CP Arena is for competitive programming, with timed contests and harder problems.

  • Python, C++ and JavaScript. Pick a language per problem in the editor and run your code against the sample cases before you submit.

  • Yes. Your code is saved per problem, so you can leave halfway through and pick up exactly where you stopped.

  • Join servers and channels built around DSA and competitive programming: ask for help, share solutions, discuss weekly contests and study together in voice rooms.