4. Memory Size of an Array

Easy

Return the total number of bytes of memory consumed by array Z (the element count times the size of a single element, in bytes).

Input

[[1. 2.]
 [3. 4.]]

Output

32

Four float64 elements at 8 bytes each.

Sign in to write and run your own code.

Implement solve(...)