Return Cash-Register Change in Named Denominations

Quick Overview

Compute cash-register change from exact decimal price and payment strings using the supplied named coin and bill denominations. Return the required error or zero status, otherwise emit every physical denomination name in alphabetical order without floating-point arithmetic.

Return Cash-Register Change in Named Denominations

Company: Bank of America

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: easy

Interview Round: Online Assessment

Overview: Compute cash-register change from exact decimal price and payment strings using the supplied named coin and bill denominations. Return the required error or zero status, otherwise emit every physical denomination name in alphabetical order without floating-point arithmetic.

|Home/Coding & Algorithms/Bank of America
Bank of America logo
Bank of America
Jun 13, 2026
easySoftware EngineerOnline AssessmentCoding & Algorithms
8
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...