Maximize Score After N Operations
Problem Statement:-
You are given nums, an array of positive integers of size 2 * n. You must perform n operations on this array.
In the i<sup>th</sup> operation (1-indexed), you will:
Choose two elements, x and y.
Receive a score of i * gcd(x, y)....
techie-sagar.hashnode.dev4 min read