NTERSOL interview question

General technical questions about javascript, typescript, angular. Coding challenge was to calculate the highest values of change given a dollar amount.