Senior Software Interview Questions

75,502 senior software interview questions shared by candidates

1. How to encrypt a set of string e.g. WAAAYYFFFFFAIIIRR to W1A3Y2F4A1I3R2 etc... And how to decrypt it back to original string (2 separate functions) 2. How to design a system so that user can check in their location thru their phone, and how to scale it when the app gets popular and millions of users are using it. How would you expand the application features when popularity grows. 3. How to design a database of Warehouse, Suppliers and Customers and they ask you to write various SQL queries to pull products sold, how many customers bought more than 30 products etc 4. A coding problem to simulate the coin game and gambler's fallacy (if they are 4 Heads in a row, gambler would bet on Tail, and vice versa).
avatar

Senior Software Engineer

Interviewed at Wayfair

3
May 23, 2019

1. How to encrypt a set of string e.g. WAAAYYFFFFFAIIIRR to W1A3Y2F4A1I3R2 etc... And how to decrypt it back to original string (2 separate functions) 2. How to design a system so that user can check in their location thru their phone, and how to scale it when the app gets popular and millions of users are using it. How would you expand the application features when popularity grows. 3. How to design a database of Warehouse, Suppliers and Customers and they ask you to write various SQL queries to pull products sold, how many customers bought more than 30 products etc 4. A coding problem to simulate the coin game and gambler's fallacy (if they are 4 Heads in a row, gambler would bet on Tail, and vice versa).

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

Given a list of versions (in string format). The versions can have invalid characters (requires cleaning). Print the list in sorted order of increasing versions. Input: ["1.2.34", "$5.j8", "3.4#", "3.45"] output: 1.2, 3.4, 3.45
avatar

Senior Software Engineer

Interviewed at Informatica

4
Apr 25, 2018

Given a list of versions (in string format). The versions can have invalid characters (requires cleaning). Print the list in sorted order of increasing versions. Input: ["1.2.34", "$5.j8", "3.4#", "3.45"] output: 1.2, 3.4, 3.45

Viewing 161 - 170 interview questions

Glassdoor has 75,502 interview questions and reports from Senior software interviews. Prepare for your interview. Get hired. Love your job.