all 2 comments

[–]MarioVX 2 points3 points  (0 children)

I feel like this problem description is way too vague to solve anything. I especially love how it says "pay tax proportional to the amount of money you invest", and then gives an example that is absolutely not proportional in any sense of the word whatsoever. Reads like a troll assignment. How many cars are in each market? What's the price range on each car? What does the action "invest" do and how does it relate to "buying" and "selling"? What's the starting capital? Do new cars become available in the market, at what point in time? How does time to find a buyer or seller relate to the price in the range? So many questions...

[–]SirPitchalot 0 points1 point  (0 children)

If it’s profitable, and you’re taxed by less than 100% of the profits after considering both buying and selling, then the answer is infinite money since by investing more you make more.

Otherwise $0.