Infosys interview question

Closure, Higher Order Component, useState, useEffect