Tag: state-machine
Interview Questions
- Two trades with a per-trade commission
- At most k trades on one price path
- Best profit when each trade pays a fee
- Best profit with at most two trades
- At most k trades, each charged a fee
- Split k trades across two assets
- Best profit with at most k trades
- Trading profit with a two-day cooldown
- Cooldown plus a transaction fee
- Trading with a minimum holding period
- Trading with a daily holding cost
- Max trading profit with a cooldown