Given a list of stock transactions ordered by timestamp. Each transaction is either a "buy" or a "sell" and is represented as a list of strings in the format of: [<timestamp>, <type>, <amount>, <price>]. Each sell transaction incurs a 10% tax on the profit earned. If no profit is made, the tax is zero.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected