ValueLabs interview question

React, javascript, problem-solving, data structures