Map Array To Another Array Typescript Interview