1. Explain React Hooks.
2. Given a graph, detect if it contains a cycle. If a cycle exists, remove an edge to make the graph acyclic.
3. What are the journal entries for prepaid expenses, and how should they be posted in the books of accounts?
4. Design a system like BookMyShow. Elaborate on the High-Level Design (HLD) and Low-Level Design (LLD) of the service APIs.
5. Given an array containing only 0s, 1s, and 2s, sort the array in-place.