You’re given a collection of check-in and check-out occasions as an array. How are you going to calculate the minimal selection of rooms required to house the entire visitors.
Arrays are one of the necessary subjects for programming interviews. It’s not relevant if you will Google, Microsoft, Amazon or funding banks like Goldman Sachs, Barclays, Citi and even provider primarily based firms like IBM, Accenture, TCS, or Infosys, if you will interview for the developer place, you will have to get ready array really well .
supply