← Questions

Max-score jumps with primes ending in 3

0
UberMicrosoftCodingLast asked Nov 2026

A coding interview question asked in Microsoft's HackerRank assessment and at Uber, last asked Nov 2026. It tests dynamic programming, primes and arrays.

You are given a non-empty integer array nums of length n. You stand on index 0 and must finish on index n - 1.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

dynamic programming · primes · arrays

Your code and the AI tutor open when you unlock this question.