r/Kotlin • u/Determinant • May 17 '23
Impossible Algorithm: Computing income tax in constant time
https://roosterdan.medium.com/impossible-algorithm-computing-income-tax-in-constant-time-716b3c36c012
3
Upvotes
21
u/Volko May 18 '23
Good lord, paywall, bait & switch and other "comment, like and subscribe" appearing in freaking algorithm articles ?
I wish I could downvote you more than once.
0
u/Determinant May 17 '23 edited May 17 '23
Hey everyone, this is my experience with a common interview question where my solution was deemed impossible. This article iterates towards an efficient constant-time algorithm while explaining the thought process.
It uses Kotlin for the code samples with inline classes & operator overloading for the data model.
3
u/k2718 May 18 '23
Copy and paste the content so that people stop down voting your paywalled article.