Gradle Test Run :java:test
maxProfit(#prices) = #answer
summary
|
100%
successful |
| Child | Name | Tests | Failures | Skipped | Duration | Success rate |
|---|---|---|---|---|---|---|
| maxProfit([7, 1, 5, 3, 6, 4]) = 5 | maxProfit([7, 1, 5, 3, 6, 4]) = 5 | 1 | 0 | 0 | 0.003s | 100% |
| maxProfit([7, 6, 4, 3, 1]) = 0 | maxProfit([7, 6, 4, 3, 1]) = 0 | 1 | 0 | 0 | 0s | 100% |