What if buy sell with a transaction fee everytime?


  • 0
    P

    Adding a twist to this problem:
    For each buy and sell, there's a transaction fee, k dollars.
    Now, how should we solve this problem?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.