Premium problem105. Save Multiple Named Arrays with savez

Medium Locked

Save arrays a and b into a single .npz archive under the names "first" and "second" (using an in-memory io.BytesIO buffer in place of a real file), then load the archive back and return second - first.

Input

a = [1 2 3]
b = [10 20 30]

Output

[ 9 18 27]

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)