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).

Implement solve(...)