Regami Solutions interview question

they asked about react hooks and some output based java script questions