Shopping Offers at MathWorks

Medium52.2% acceptance

This problem has 87.5% frequency at MathWorks.

Problem Description

In LeetCode Store, there are `n` items to sell. Each item has a price. However, there are some special offers, and a special offer consists of one or more different kinds of items with a sale price. You are given an integer array `price` where `price[i]` is the price of the `ith` item, and an integ...

Read full problem and hints

Topics

Also asked at 5 companies


More MathWorks Questions

View all MathWorks questions