Senior Interview Questions

341,279 senior interview questions shared by candidates

Implement a class called AirMap that has two methods: 1. add_route(start, destination) - adds ONE WAY connecting flight from one airport to another 2. print_all_routes(start, destination) - prints all possible routes from start to destination Given the following routes, print all possible routes between the airport C and D: A -----> B B -----> A A -----> C C -----> A A -----> D D -----> A B -----> C C -----> B B -----> D D -----> B Expected Output: C,A,B,D C,A,D C,B,A,D C,B,D
avatar

Senior Software Engineer

Interviewed at Bloomberg

4
Nov 1, 2021

Implement a class called AirMap that has two methods: 1. add_route(start, destination) - adds ONE WAY connecting flight from one airport to another 2. print_all_routes(start, destination) - prints all possible routes from start to destination Given the following routes, print all possible routes between the airport C and D: A -----> B B -----> A A -----> C C -----> A A -----> D D -----> A B -----> C C -----> B B -----> D D -----> B Expected Output: C,A,B,D C,A,D C,B,A,D C,B,D

Anti-freeze: planning to buy a company with 12.5 in cash, 10% bonds for the remaining amount. Total worth of the company $137.5. assuming there is no discount rate. When will u break-even. And is it a good buy? Part(2) - Anti-freeze is currently priced at $8, with 60% market share; there are other products in the market(A) priced at $7 with 15% market share, (B) at $7 with 7% market share and (c) with $5 and 10% market share. Should we consider decreasing our price by $1 or NOT?
avatar

Senior Business Analyst

Interviewed at Capital One

3.6
Dec 5, 2011

Anti-freeze: planning to buy a company with 12.5 in cash, 10% bonds for the remaining amount. Total worth of the company $137.5. assuming there is no discount rate. When will u break-even. And is it a good buy? Part(2) - Anti-freeze is currently priced at $8, with 60% market share; there are other products in the market(A) priced at $7 with 15% market share, (B) at $7 with 7% market share and (c) with $5 and 10% market share. Should we consider decreasing our price by $1 or NOT?

Viewing 451 - 460 interview questions

Glassdoor has 341,279 interview questions and reports from Senior interviews. Prepare for your interview. Get hired. Love your job.