50. Closest Value to a Scalar

Medium

Return the element of array Z closest to the scalar v.

Sign in to write and run your own code.

Implement solve(...)