PropReturns Interview Question

Dsa and javascript and React