Array: a row of numbered lockersArray: numbered lockers ki ek line
Every locker has a number (its index) starting from 0. If you know the number, you walk straight to it. If you only know what is inside, you open lockers one by one.Har locker ka ek number (index) hota hai, 0 se shuru. Number pata ho to seedha wahin jao. Sirf andar ki cheez pata ho to ek ek locker kholna padta hai.