Minimize the Difference Between Target and Chosen Elements

Minimize the Difference Between Target and Chosen Elements - Coding Problem | K5kC