H2Compute Interview Question

Basic React Hooks