Publicis Sapient interview question

Custom hooks, higher order functions.