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
Mid February, 2026
Gusto
Staff
Late December, 2025
Gusto
Staff
Late August, 2025
Snowflake
Mid-level
Create a class that does the calculation
Hello Interview Premium
Your account is free and you can post anonymously if you choose.