data analyst interview questions shared by candidates
How many barbers were there in Ireland?
Its a basic Fermi problem.
There are 4.83 million people in Ireland I would assume that 50% of them are males I would assume that an average male goes to the barber once every month I would assume that each barber can deliver services to 3 people per hour I would assume that each barber works an average of 30*4*11 hours I would assume that an average barber has an occupancy ratio of 70% 4830000*0.5*1 barber services demand per month in Ireland (males) 30*4*3*0.7 barber services per barber and month There are around 9.000 barbers in Ireland
SoftDev : Python (I chose), you have an array of string sorted but with empty strings (e.g. ["abc","","","","cef","","","dej,""] and you want to know if an other string is in this array. How to do it with a complexity of O(log n) in general case ? Then how to find how many times it appears in this array ?
See Interview Questions for Similar Jobs
- Software Engineer
- Business Analyst
- Senior Software Engineer
- Financial Analyst
- Software Development Engineer
- Associate Account Strategist
- Customer Service Representative
- Project Manager