Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try to use a greedy approach.
Sort the array and try to group each <code>3</code> consecutive elements.
Solve with full IDE support and test cases