Pergunta de entrevista da empresa Zessta Software Services

Optimal Denomination Count Write a function that takes an integer representing a valid withdrawal amount and returns a string showing the optimal count of each denomination (₹2000, ₹500 ₹100) to dispense. The output should use the largest denominations possible to minimize the total number of notes. Example 1: Input: 900 Output: 500: 1, 100:4 Example 2: Input: 2800 Output: 2000: 1, 500: 1, 100: 3 }