MCPcopy Create free account
hub / github.com/betomoedano/JavaScript-Coding-Interview-Questions / min-rewards.js

File min-rewards.js

arrays/min-rewards.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// time O(n)
2// space O(n) where n is the length of the input array
3
4function minRewards(scores) {

Callers

nothing calls this directly

Calls 1

minRewardsFunction · 0.85

Tested by

no test coverage detected