CSES Solutions - Missing Coin Sum
You are given an array of positive integers coins[] of size n, representing n coins of different denominations. The task is to find the smallest sum that can not be created using a subset of the coins[].Note: Each coin can only be used once.Examples: Input: coins[] = [2, 9, 1, 2, 7]Output: 6Explanat