Search
⌘K
Get Premium
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:
Snowflake
Bloomberg
Gusto
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
Snowflake
Mid-level
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.