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

Gusto

Snowflake

Bloomberg

Bloomberg


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid February, 2026

Gusto

Gusto

Staff

Late December, 2025

Gusto

Gusto

Staff

Late August, 2025

Snowflake

Mid-level

Create a class that does the calculation

Your account is free and you can post anonymously if you choose.