DEV Community

loading...

Discussion on: A coding interview question asked at Google

Collapse
bpedroza profile image
Bryan

I did something really similar except used map instead of duplicating the block for array1 and array2. I think these read better than some of the more compact solutions.