LinkedInCoding·30 minMembers
Multi-Dimensional Array Sum via `getDims` / `get`
Members only
Given a `MultiDimArray` that exposes only `getDims()` (the size of each dimension) and `get(indices)` (the element at a full index tuple), implement `arraySum(m)` returning the sum of all elements. Th...
MLE
Infra Eng
array
recursion
backtracking
medium
Frequency
Low
Last asked
2026-10-01
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
