80. Centered Subpart with Fill

Hard

Extract a subpart of array Z with the given shape, centered on the element at position, padding with fill where it falls outside Z. Return the subpart.

Sign in to write and run your own code.

Implement solve(...)