Top 50 numpy Interview Questions
The most frequently asked numpy questions across all roles and companies, ranked by real interview frequency. Updated daily.
Implement a deterministic five-hidden-node MLP in NumPy and train it with vectorized backpropagation for binary classification.
ByteDanceSummarize numeric batches with tuples, NumPy, Pandas, and ordered multithreading.
BarclaysImplement multivariate ordinary least squares in bare NumPy, including an intercept and rank-deficient feature matrices.
QuantiphiMultiply two compatible matrices while preserving both inputs and returning a newly allocated result.
OpenAICompute the product of two matrices directly into a preallocated output matrix without allocating a result matrix.
OpenAICompute Shannon entropy from a probability distribution using NumPy while handling zero-probability entries safely.
OpenAICompute column means, minima, and maxima in one pass with memory proportional to the number of columns.
JPMorganChaseGenerate deterministic uniform random points inside a 2D bounding box.
WaymoSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Calculate Pearson correlation for each category while excluding incomplete value pairs.
Barclays