grip.
Free · No signup to start

Find your DSA
baseline in 10 questions.

Free placement test across arrays, trees, graphs, DP, and more. Get a readiness score, see your weakest topics, then decide if you want to keep going.

Dynamic Programming · Card 3/6

What is the time complexity of the classic 0/1 knapsack problem solved with dynamic programming?

AO(n log n)
BO(n × W)
CO(2ⁿ)
DO(n²)
Dynamic Programming ELO1340 → 1381  +41
Coding Drill · Two SumApproach Phase
def two_sum(nums, target):
# your solution here
pass
Before you write anything — walk me through your approach.
Walk me through your approach…
SEND →

CODING DRILL COMPLETE

CLEAN SOLVE

8 of 8 tests passed. That's 100%.

PASSED

8

FAILED

0

ELO

+161

STRENGTHS

O(n) hash map solution — identified the trade-off immediately.

TOP GAP

Watch edge cases with duplicate values in the input array.

How does grip. work?

01

Daily flashcard sessions

6 cards per session, selected by the SM-2 algorithm from your weakest topics. DSA, system design, and behavioral — 5–10 minutes a day.

02

AI-powered coding drills

Write real code against test cases. An AI coach guides your approach before you write a line, then debriefs your solution after you submit.

03

ELO-based difficulty

Every topic has its own ELO rating. Always challenged, never overwhelmed. One number tracks your overall interview readiness.

A training system, not a problem bank.

Random grinding

  • You pick what to study
  • You forget what you covered
  • No feedback on your thinking
  • Code problems only

grip.

  • Algorithm picks your weak spots
  • Spaced repetition locks it in
  • AI coach + debrief every drill
  • DSA, system design, behavioral

See where you stand first.

Take the placement test free. Sign up after if you want to keep training.

START FREE PLACEMENT TEST →