Commit ba29c38
committed
1475. Final Prices With a Special Discount in a Shop.
- Language: Python.
- Time complexity: O(n + n).
- Space complexity: O(n).
- Solution based on: https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/editorial/.1 parent 3dd119d commit ba29c38
File tree
2 files changed
+15
-0
lines changed- python_solutions/lc_1475_final_prices_with_a_spec_discount_in_a_shop
2 files changed
+15
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
0 commit comments