This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackTook me an extra iteration to understand how the tax brackets were applied on earnings. Bracket to applicable portion of income vs. only one bracket per income.
Took the hard-way approach - Not entirely happy with the hard-coding in the formulas, but I still don't quite get the dynamic replace (and almost never comes to mind).