Train for the interviews that decide the offer.

Real coding, AI, and quant challenges in a full workspace, with feedback on every submission and a plan that tells you what to fix next.

  • Quant trading
  • Software engineering
  • AI & ML
  • System design

Hiring or training engineers? AlgoCracked for teams

Assessment reportAccepted
Problem
Max score in k movesMedium · Dynamic programming
Correctness
14 of 14 tests passedIncluding 4 hidden edge cases
Complexity
O(n·k) time, O(k) spaceMeets the target bound

Reviewer notes

Strength
Clean state: dp[j] is the best total with j moves left.
Improve
Say why a 1-D table is enough before you write it.
Follow-up
Moves may also step back one index. What changes?
Recommended nextSliding window maximumHard

Practice the patterns interviewers test.

Each challenge is tagged with its interview pattern and, where sourced, the firm and round. Solve it in a full editor, then run it against the test cases that decide the result.

MediumDynamic programmingJane Street · trading round

Max score in k moves

You start at index 0 of an integer array arr. On each move you may stay or advance to i + 1. Before every move you collect arr[i]. Return the maximum total achievable after exactly k moves.

Example

arr = [1, 20, 3], k = 3  // -> 41
// collect 1, advance; collect 20, stay; collect 20

Constraints

  • 1 ≤ n, k ≤ 10⁵
  • arr[i] may be negative
Try a problem free
EditorResultsExplanationC++23 · GCC 14
long long maxScore(vector<int>& arr, int k) {
    int n = arr.size();
    // dp[j] = best total using exactly j moves from here
    vector<long long> dp(k + 1, 0);
    for (int i = n - 1; i >= 0; --i) {
        long long best = 0;
        for (int j = 1; j <= k; ++j) {
            // collect arr[i], then stay or advance
            long long stay = arr[i] + dp[j - 1];
            best = max(best, stay);
            dp[j] = best;
        }
    }
    return dp[k];
}
#1 arr=[1,2,3] k=30.3ms · Accepted
#2 arr=[1,20,3] k=30.5ms · Accepted
#3 arr=[5,-2,9] k=40.4ms · Accepted
Run testsSubmit

Five tiers. Only two matter once you're past the phone screen.

Every problem is rated by its global solve rate, not hand-waved into “Easy / Medium / Hard”.

  • Easy> 75%Warmups
  • Medium40–75%Phone screens
  • Hard15–40%Onsite loop
  • Cracked5–15%Jane St · Meta E6
  • Cooked< 5%Final quant screen

The quant interview is a different animal.

Quant screens combine probability, statistics, markets, and implementation. Practice those disciplines in focused tracks and review progress after each session.

The statistics they really test

Distributions, expectation, and Bayesian reasoning, the way quant and ML interviewers actually probe them.

Know where you stand before the room

Submission history and pattern progress tell you what to revisit, so interview day holds no surprises.

Learn by talking, not just typing.

Practice explaining your approach out loud, review structured walkthroughs, and rehearse the follow-up questions that make interviews feel different from solo coding.

Mock interview12:48

Interviewer

Your hash-map solution is O(n) time. What changes if the numbers arrive as a stream you can’t store?

You

I’d keep a bounded window of recent values, or trade exactness for memory with a Bloom filter.

Interviewer

Good. How does the false-positive rate behave as the filter fills up?

Listening to your answer…

Clarity

4/5

Correctness

5/5

Edge cases

3/5

Voice AI TutorTalk through problems like a real interview

A Socratic AI tutor that listens to your approach, asks guiding questions, and helps you discover solutions — all through natural voice conversation. No typing needed.

  • Socratic method — guides, never gives answers
  • Real-time voice input and response
  • Adapts to your skill level
  • Simulates real interview dynamics
Open the practice workspace
AI Video WalkthroughsStructured explanations when you need a walkthrough

Walkthroughs organize the approach, code, and complexity analysis into a sequence you can revisit without losing your place in the problem.

  • Chapter markers: Approach → Code → Complexity
  • Problem context stays alongside the explanation
  • Available on supported problem walkthroughs
  • Adjustable playback speed
Browse supported walkthroughs
Voice Mock InterviewsPractice phone screens with an AI interviewer

A realistic phone screen simulator where an AI interviewer asks follow-up questions, challenges your assumptions, and scores your communication — all via voice.

  • Realistic AI interviewer personality
  • Communication and technical scoring
  • Follow-up questions and edge-case probing
  • Detailed feedback and transcript
Open mock interviews

Always know what to study next.

A structured roadmap from fundamentals to advanced patterns. Your progress on each topic decides what unlocks next, so you never prep by guessing.

Choose a learning roadmap

Pay for the preparation window you need.

Every challenge starts free. Pro unlocks the full system: every problem, path and mock interview.

Start with seven days of Pro for $1.

Full access, then choose the plan that fits your preparation window.

Start the trial

Pro

For serious interview prep

Most popular
$199/year

Save 53% against monthly

  • A curated, growing library of real interview problems
  • All learning paths
  • Interactive algorithm visualizations
  • Unlimited AI-powered hints
  • Mock interview practice
  • Company tags (Google, Meta, etc.)
  • All 13 languages supported
  • Certificate of completion
Choose Pro

Lifetime

One payment, unlimited access forever

$399one-time

  • Everything in Pro, permanently
  • Entire problem library
  • All learning paths
  • Interactive algorithm visualizations
  • Unlimited AI-powered hints
  • Mock interview practice
  • Completion certificates
  • One payment with no renewal
Get lifetime access

Training a team or running an institution programme?

Talk to us about Enterprise

14-day guarantee on Pro plans · Cancel Pro anytime

For teams, and the companies that hire them.

Engineering teams and institutions buy seats with the controls procurement asks for. The engineers who build this platform also build and run AI products for clients.

Running AI-training projects? Source tested contributors in Kenya.

Seats for teams and institutions

The full curriculum, problem bank and mock interviews for every seat. These are included, not upsold:

SAML single sign-on
Sign-in through your identity provider, on DNS-verified email domains.
SCIM 2.0 provisioning
People are added and removed from your directory, not by hand.
Audit trail
Append-only log of administrative and access events.
Roles and reporting
Role-based access, and team progress across the curriculum.
Published security posture
Sub-processors and compliance status, including what is not certified yet.

Questions, answered.

01How is AlgoCracked different from LeetCode?

AlgoCracked combines coding practice with interactive algorithm visualizations, contextual AI hints, structured learning paths, and timed mock interviews. The goal is to help you understand patterns, apply them in the editor, and review what to revisit next.

02Is there a trial or risk-free way to start?

Yes — our $1 trial gives you full Pro access for 7 days as a one-time purchase. It does not auto-renew or enroll you into a paid plan. Prefer to commit upfront? Pro plans also come with a 14-day money-back guarantee.

03What programming languages are supported?

We support 13+ languages including Python, JavaScript, TypeScript, Java, C++, C, C#, Go, Rust, Ruby, PHP, Swift, and Kotlin. Our Monaco-powered editor provides full syntax highlighting, auto-completion, and language-specific templates.

04How do the AI-powered hints work?

Our AI analyzes your code and provides contextual hints that guide you toward the solution without giving it away. It identifies where you're stuck, suggests relevant concepts, and helps you build problem-solving intuition rather than just memorizing solutions.

05Can I prepare for specific companies?

Yes. Use company tags and focused learning paths to narrow the catalog to the interview areas you want to practice. Company names identify practice categories and do not imply endorsement or affiliation.

06How do mock interviews work?

Our mock interviews simulate real technical interviews with timed sessions, realistic problems, and comprehensive feedback. You can choose company-specific formats, difficulty levels, and even practice with AI interviewers that ask follow-up questions.

07Do you offer refunds?

Yes. Contact support within 14 days of your initial Pro purchase for a full refund.

08Do you offer plans for teams and institutions?

Yes. Teams and institutions buy per-seat access to the full curriculum and problem bank, with team progress reporting. SAML single sign-on on verified email domains, SCIM 2.0 provisioning, role-based access and an append-only audit trail are included. See AlgoCracked for teams, or our Trust Center for the security review.

09Can I use AlgoCracked on mobile?

Yes. AlgoCracked works on tablets and phones. Use a desktop for the full coding experience; on a phone you can review problems, watch visualizations, and study on the go.

Still have questions? Contact support

Start with one real problem.

Climb the Ladder, and get a review on every submission that tells you what to fix next.

$1, one time · No auto-renewal · 14-day guarantee on Pro plans