Search
⌘K
Leetcode 2303. Calculate Amount Paid in Taxes
Given sorted tax brackets with upper bounds and percentages, compute the progressive tax on a given income by summing, for each bracket in order, the taxed portion (the income within that bracket) multiplied by its rate until the income is exhausted.
Asked at:
Gusto
Snowflake
Bloomberg
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late December, 2025
Gusto
Staff
Late August, 2025
Snowflake
Mid-level
Create a class that does the calculation
Mid July, 2025
Bloomberg
Senior
Wrote a simple python fucntion but was still rejected. Probably took a lot of time
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.