Skip to content

Instantly share code, notes, and snippets.

View jonopens's full-sized avatar

Jon Openshaw jonopens

View GitHub Profile
@jonopens
jonopens / scorer.js
Last active March 26, 2018 17:47
Codility Challenge for EPAM: review
function solution(S) {
let total = 0;
for(var i = 0; i < S.length; i++){
for(var c = S.length; c > i; c--){
total += uniScore(S.slice(i, c))
}
}
return total
}
### Keybase proof
I hereby claim:
* I am jonopens on github.
* I am jonopens (https://keybase.io/jonopens) on keybase.
* I have a public key whose fingerprint is 1C5F F8CE 2F66 11CE 4644 F97C A076 A47A 751D 088F
To claim this, I am signing this object: