"When interviewing for a position as an architect, you may be asked about your internship experience, proficiency with computer-aided design (CAD) programs, knowledge of civil and mechanical engineering, and personal design preferences. A potential employer's top concern will be with your ability to produce aesthetically pleasing and structurally sound designs that fit within budget constraints. All architects are required to receive a degree accredited by the National Architecture Accrediting Board (NAAB) and complete the Intern Development Program (IDP)."
There are n gas stations positioned along a circular road. Each has a limited supply of gas. You can only drive clockwise around the road. You start with zero gas. Knowing how much gas you need to get from each gas station to the next and how much gas you can get at each station, design an algorithm to find the gas station you need to start at to get all the way around the circle.
Use maximum consecutive subsequence algorithm.