We are developing an application for bus drivers that tells them where to drive, so that they can pick up and drop off riders that have been matched to them. A primary function of this app is to display a set of "driver instructions" that tells the driver where to drive and who to pick up or drop off over the course of the entire day. Each bus has a limited capacity in terms of the maximum number of riders that can be on board simultaneously. Your task is to write code that takes as input some driver instructions, and tells us whether following those instructions would cause the bus's capacity to be exceeded at any point in the day. *Once you finish this easy question, they ask a follow-up: Now, we learn that some riders are on wheelchairs. Each wheelchair requires two seats to be folded up on the bus when such a rider boards, and when the rider exits the bus those two seats become free again. We know ahead of time which riders will require wheelchairs. However, not every seat on a bus is foldable, and some buses have more foldable seats than others. How would you modify your solution to handle this functionality?
Software Enginner Interview Questions
884 software enginner interview questions shared by candidates
Experience about work and all past companies
Sort the version number(string separated by dots)
tell me about yourself and intro
Related to your last account in which I worked
1 - from 1 to n, to print elements that divide by some number( for example, 5) and numbers(3 and 5) 2 - How would you design a battleship game
few question related to tree and recursion
java oops concepts collection API SQL Thread concepts
Initial OA was a bfs question, karat interview was 2 tree questions, and my final interview was a bfs question
different ways of allocating memory in c++
Viewing 851 - 860 interview questions
See Interview Questions for Similar Jobs
Software EnginerSoftware Engineer GraduateJava Software EngineeringSoftware Engineer GoogleRuby DeveloperSoftware Engineer C#C Software DeveloperSoftware EngineeringAssoc Software EngineerSoftware Engineer CoopSenior Staff Software EngineerSoftware Engineer C DeveloperSoftware Engineer Web DeveloperJava J2ee Software DeveloperSoftware TraineeSoftware Engineer RubyEnterprise Applications Developer Software EngineeSoftware Engineer Cc