NumPy

0%
Coding
Theory
Quiz

    Array Creation Dtypes

    • Integer Range With np.arange

      Junior
    • Nested List to Typed 2-D Array

      Junior
    • Checkerboard Matrix Via Slicing

      Junior
    • Interior Evenly Spaced Points

      Junior
    • Build an Identity Matrix

      Junior
    • Framed Border Matrix

      Junior
    • Checkerboard via np.tile

      Mid
    • Coordinate Matrices With meshgrid

      Mid
    • Truncate Floats With astype

      Mid
    • Report Array Metadata Tuple

      Mid
    • Sub-Diagonal Matrix With np.diag

      Mid
    • Diagonal Stripe Gradient

      Mid
    • Structured RGBA dtype Array

      Senior
    • Structured Meshgrid Over Unit Square

      Senior
    • Convert C-Contiguous Array to Fortran Order

      Senior
    • View vs Copy Semantics

      Senior

    Indexing Slicing Boolean Masking

    • Clip Negatives to Zero With np.where

      Junior
    • Filter Array With Boolean Mask

      Junior
    • Gather Elements by Index

      Junior
    • Slice Every Second Row's Last Two Columns

      Junior
    • Non-Zero Indices With np.nonzero

      Junior
    • Reverse a 1-D Array With Slicing

      Junior
    • Boolean Mask Multi-Condition Filter

      Mid
    • In-Place Masked Negation

      Mid
    • Paired Fancy Index Gather

      Mid
    • Count Elements Above Threshold

      Mid
    • Threshold Coordinates With np.argwhere

      Mid
    • Zero the Inner Region

      Mid
    • Cross-Product Submatrix With np.ix_

      Senior
    • Piecewise Category Codes With np.select

      Senior
    • Per-Row Gather With np.take_along_axis

      Senior

    Broadcasting Vectorization

    • Row-Wise Bias Broadcast Add

      Junior
    • Multiplication Table via Broadcasting

      Junior
    • Column-Wise Broadcast Scaling

      Junior
    • Outer Sum Table With Broadcasting

      Junior
    • Column Z-Score Standardization

      Mid
    • Row-Mean Centering With keepdims

      Mid
    • Per-Column Min-Max Scaling

      Mid
    • One-Hot via Equality Broadcast

      Mid
    • Vectorize Cauchy Matrix With Broadcasting

      Mid
    • Weight Image Channels by Broadcasting

      Mid
    • Vectorized Pairwise Distance Matrix

      Senior
    • Squared Distances via Gram Trick

      Senior
    • Sample Covariance via Broadcasting

      Senior

    Aggregations Reductions Axis Operations

    • Column Sums Without a Loop

      Junior
    • Row-Wise Mean Reduction

      Junior
    • Column Peak-to-Peak Range

      Junior
    • Count Non-Zero Entries Per Column

      Junior
    • Per-Row Argmax Indices

      Mid
    • Coordinates of the Largest Element

      Mid
    • Moving Average via np.cumsum

      Mid
    • NaN-Aware Column Means

      Mid
    • L1 Row Normalization With keepdims

      Mid
    • Column-Wise Weighted Average

      Mid
    • Column Medians and Percentiles

      Mid
    • Block-Sum via np.add.reduceat

      Senior
    • Grouped Mean With np.bincount

      Senior
    • Running Maximum With accumulate

      Senior

    Reshaping Stacking Manipulation

    • Repeat Each Element With np.repeat

      Junior
    • Reshape 1-D Array Into Matrix

      Junior
    • Stack Two Arrays As Rows

      Junior
    • Zero Border With np.pad

      Junior
    • Flatten Matrix to 1-D Copy

      Junior
    • Transpose a 2-D Array

      Junior
    • Split Array Into Near-Equal Parts

      Mid
    • Cyclic Array Shift With roll_array

      Mid
    • Rotate 2-D Array by k*90 Degrees

      Mid
    • Stack 2-D Arrays Into 3-D Tensor

      Mid
    • HWC to CHW Layout Conversion

      Mid
    • Interleave Two Arrays Elementwise

      Mid
    • Drop A Column From 2-D Array

      Mid
    • Reflect-Pad a 1-D Array

      Senior
    • Assemble 2x2 Block Matrix

      Senior
    • Insert Zeros By Strided Assignment

      Senior

    Linear Algebra

    • Normalize Rows to Unit L2 Length

      Junior
    • Matrix Product With @

      Junior
    • Matrix Trace With np.trace

      Junior
    • Matrix Determinant With np.linalg.det

      Junior
    • Outer Product of Two Vectors

      Junior
    • Solve a Linear System

      Mid
    • Matrix Inverse With np.linalg.inv

      Mid
    • Matrix Rank With matrix_rank

      Mid
    • Vector Projection Onto u

      Mid
    • Matrix Power With np.linalg.matrix_power

      Mid
    • Vector And Matrix Norms

      Mid
    • Best-Fit Line With lstsq

      Senior
    • Gram-Schmidt Orthonormalization

      Senior
    • Rank-k SVD Approximation

      Senior
    • Batched Matmul With einsum

      Senior

    Sorting Searching Set Operations

    • Non-Destructive Ascending Sort

      Junior
    • Row-Wise Ascending Sort

      Junior
    • Argsort Permutation Indices

      Junior
    • Sorted Distinct Values

      Junior
    • Count Non-Zero Elements

      Junior
    • Distinct Values and Their Counts

      Mid
    • Top-K Largest via argpartition

      Mid
    • Sorted Intersection of Two Arrays

      Mid
    • Sort 2-D Rows by Key Column

      Mid
    • Boolean Membership Mask

      Mid
    • Most Frequent Value With Tie-Break

      Mid
    • Vectorized Insertion Indices

      Mid
    • Multi-Key Row Sort With lexsort

      Senior
    • Order-Preserving Array Dedup

      Senior
    • Bucketize Values With searchsorted

      Senior
    • First Element Exceeding Threshold

      Senior

    Random Statistics Numerical Methods

    • Seeded Integer Sampling With default_rng

      Junior
    • Min-Max Normalize a 1-D Array

      Junior
    • Z-Score Standardization

      Junior
    • Winsorize With np.clip

      Junior
    • Sanitize Non-Finite Array Values

      Junior
    • Simple Moving Average With np.convolve

      Mid
    • Seeded Row Shuffle

      Mid
    • Per-Bin Histogram Counts

      Mid
    • Bin Values With np.digitize

      Mid
    • Grouped Sums With bincount

      Mid
    • Linear Interpolation With np.interp

      Mid
    • Pearson Correlation Matrix

      Senior
    • IQR Outlier Mask

      Senior
    • Polynomial Fit and Evaluate

      Senior
    • Trapezoidal Rule Integration

      Senior
    • Monte Carlo Pi Estimation

      Senior