Domanda di colloquio di Accenture

useEffect and useState hook in React. Explain Binary Search.