Index of maximum value
Return index of largest value (first on tie).
Add scalar to vector
Add constant k to every element of the vector.
Inclusive numeric range vector
Return [start, start+step, ...] through end inclusive.
Count elements in matrix
Return total scalar count.
Binarize vector at threshold
Return 1.0 where v[i] >= t else 0.0.
Showing 1–5 of 5 challenges · hard · Numpy & Vectorized Computing
Numpy & Vectorized Computing — Python coding challenges
What you will find here
This page lists numpy & vectorized computing challenges — real Python problems you solve in the browser IDE with instant test feedback. Each challenge includes a clear brief, starter code, and automated checks.
Challenges vs tutorials and quizzes
Challenges test what you can build under constraints. For guided teaching, use our Python tutorials. For quick checks, try quizzes or copy snippets from code samples.