Disney+ Hotstar Interview Question

1. Find an Equilibrium index in an given a array? (Core Java + Space&Time Complexity too)