Sorted Ledger Cap K Copies Length — Coding Problem — CareerVerse