Shopping Cart Simulator
Asked at The Trade Desk · Coding Questions · Difficulty: Medium
Write a simulator for a simple shopping cart. The cart supports: add items, remove items, query the total price, and list all items.
Loading the problem…
Asked at The Trade Desk · Coding Questions · Difficulty: Medium
Write a simulator for a simple shopping cart. The cart supports: add items, remove items, query the total price, and list all items.
Loading the problem…