Frage im Vorstellungsgespräch bei NIKE

Multiply numbers without using multiply operation or Math library.

Antwort im Vorstellungsgespräch

Anonym

7. Sep. 2022

// 0+1 0+1+1 0+1+1+1 // 0+2 0+2+2 0+2+2+2 const mul = (a,b) => { let repAdd = 0; if(a<=b){ for(let i=0; i