248 B
248 B
Ruby Technical Test
Initial Thoughts
- Cart can be stored in an array of strings
- Cart items should be validated against a known list of products
- We need a hash of products and their prices
Open Questions
- How do we apply discounts?