OS
Size: a a a
OS
Π
IF
IF
N👩
Вキ
K🦋
K🦋
K🦋
function machinLerninFunkshinalHorse(arr){
return Array(100000)
.fill(arr)
.map(a=>[...a])
.map(a=>a.sort(()=>0.5-Math.random()))
.map(a=>a.filter(()=>Math.random() > 0.2))
.map(a=>a.join(''))
.map(a=>+a)
.filter(a=>a%3 === 0)
.sort((a, b) => b - a)[0]
}
🔬
function machinLerninFunkshinalHorse(arr){
return Array(100000)
.fill(arr)
.map(a=>[...a])
.map(a=>a.sort(()=>0.5-Math.random()))
.map(a=>a.filter(()=>Math.random() > 0.2))
.map(a=>a.join(''))
.map(a=>+a)
.filter(a=>a%3 === 0)
.sort((a, b) => b - a)[0]
}
K🦋
🔬
K🦋
Вキ
function machinLerninFunkshinalHorse(arr){
return Array(100000)
.fill(arr)
.map(a=>[...a])
.map(a=>a.sort(()=>0.5-Math.random()))
.map(a=>a.filter(()=>Math.random() > 0.2))
.map(a=>a.join(''))
.map(a=>+a)
.filter(a=>a%3 === 0)
.sort((a, b) => b - a)[0]
}
K🦋
K🦋
Array.prototype.mapter = Array.prototype.map;
Array.prototype.sorter = Array.prototype.sort;
Array.prototype.filler = Array.prototype.fill;
function machinLerninFunkshinalHorse(arr){
return Array(100000)
.filler(arr)
.mapter((a, b) => [...a])
.mapter((a, b) => a.sort(()=>0.5-Math.random()))
.mapter((a, b) => a.filter(()=>Math.random() > 0.2))
.mapter((a, b) => a.join(''))
.mapter((a, b) => +a)
.filter((a, b) => a%3 === 0)
.sorter((a, b) => b - a)[0]
}
K🦋
K🦋
N👩