Foundry Slag Merge K Minimum Cost — Coding Problem — CareerVerse