RTS Labs Interview Question

Mostly react questions, mapping an array