116. Weighted Average

Easy

Return the weighted average of 1-D array x using weights, i.e. sum(x * weights) / sum(weights).

Sign in to write and run your own code.

Implement solve(...)