Given a boolean array, create a class that takes in that array and has a function that can verify if a given range in the array is all True. Minimum area to encapsulate points a robot has walked to. BFS reachability from single point.
Anonymous
Through questions like this, interviewers are mostly trying to test your skillset (and its relevance to the role) as robustly as possible, so be prepared for multiple offshoots and followups. It could be a useful exercise to do mocks with friends or colleagues in Uber to get a real sense of what the interview is actually like. Alternatively Prepfully has a ton of Uber Software Engineer(Internship) experts who provide mock interviews for a pretty reasonable amount. prepfully.com/practice-interviews
Check out your Company Bowl for anonymous work chats.