Algorithm · Lyft · Medium
Requirements Part 1: Build a button whose score increases by 1 whenever it is clicked. Part 2: Make a second button visible after the score reaches 5. Part 3: Add a table that lets users create and configure additional buttons modeled on the second button. For each generated button, the user must be able to specify its upfront point cost and the number of points it produces per second. When a generated button is activated, it must deduct its configured cost first and then…
Checking your access…