Hi, my name is Abdessamad and I am a self-taught software developer from Morocoo. I have been programming since 2015, focusing mostly on Web applications and web languages (Node.js, PHP, Python...)
functiontwosum(ints:number[],target:number){for(leti=0;i<ints.length-1;i++){for(letj=i+1;j<ints.length;j++){if(ints[i]+ints[j]==target){return[ints[i],ints[j]]}}}return[]// no match}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
typescript solution