Security Function Inverses

  • + 0 comments

    js

    function processData(input) {
        //Enter your code here
        let numbers = input.split(`\n`)[1].split(` `);
        let keys = [...numbers.keys()]
        for(let key in  keys){
            console.log(numbers.findIndex(n => n==(Number(key) +1))+1)
        }
    }