Bryan Guilas11 days ago

const solve = (intArray, n) => {
    return intArray[n]

Fatih KAYAa month ago

const solve = (intArray, n) => { return intArray.filter((n)=>{return n == intArray[n-1]}); };

Ameliorated Tugrik3 months ago

Well, I've read the task thricely since I couldn't have believed it's as simple as that. :D

const solve = (arr, n) => arr[n]

Savings Account Ergonomic2 years ago

return intArray[n];