Senior Software Engineer Interview Questions

71,582 senior software engineer interview questions shared by candidates

SQL question: Customers have multiple contacts, each of the contacts can have multiple addresses, phone numbers, emails. Come up with a database schema and a query to find the phone number of a particular contact of a given customer. What data type should the 'type' field be in the phone table? Design a REST API that would (a) get a contact home phone for a given customer, and (b) update a phone number. Behavorial: Describe a time when you stepped up to do something above and beyond what was expected of you Python: Given a wrapper around Twilio CRUD APIs, we encounter a 1 in 2000 failures due to network glitches, which can be fixed with a retry. Implement this retry, first with a simple function, then for all of them.
avatar

Senior Software Engineer

Interviewed at Varsity Tutors

3.2
Dec 18, 2021

SQL question: Customers have multiple contacts, each of the contacts can have multiple addresses, phone numbers, emails. Come up with a database schema and a query to find the phone number of a particular contact of a given customer. What data type should the 'type' field be in the phone table? Design a REST API that would (a) get a contact home phone for a given customer, and (b) update a phone number. Behavorial: Describe a time when you stepped up to do something above and beyond what was expected of you Python: Given a wrapper around Twilio CRUD APIs, we encounter a 1 in 2000 failures due to network glitches, which can be fixed with a retry. Implement this retry, first with a simple function, then for all of them.

2. We are given a list of alpha numeic Events and we need to check if it is sorted or not ? An event can either contain a letter (alpha), an hyphen '-' (should be considered as alpha and not negative) or a number. All the alpha(including '-') should be sorted before number. Two alpha should be sorted in natural order Series of numbers should be collected and compared like abc123 and abc456 is in sorted order because 123 < 456 If two numbers are same value, one with smaller length should be sorted first. Ensure handle number correctly like abc122axy99z have two numbers 122 and 99. Also number can be padded wuth zeroes. if two numbers are same value, one with smaller length should be sorted first. Example sorting order: abc is sorted before 123 123 is sorted before 456 954 is sorted before 01234 abz is sorted before axy Test Input: ["abc123hij-k","abc123hij-k","abc456hij-k","abc954hij-k","abc01234hij-k","xyz123hij-k","x123hij-k","21030003020"] Test Output: true
avatar

Senior Software Engineer

Interviewed at Uber

3.7
Apr 26, 2020

2. We are given a list of alpha numeic Events and we need to check if it is sorted or not ? An event can either contain a letter (alpha), an hyphen '-' (should be considered as alpha and not negative) or a number. All the alpha(including '-') should be sorted before number. Two alpha should be sorted in natural order Series of numbers should be collected and compared like abc123 and abc456 is in sorted order because 123 < 456 If two numbers are same value, one with smaller length should be sorted first. Ensure handle number correctly like abc122axy99z have two numbers 122 and 99. Also number can be padded wuth zeroes. if two numbers are same value, one with smaller length should be sorted first. Example sorting order: abc is sorted before 123 123 is sorted before 456 954 is sorted before 01234 abz is sorted before axy Test Input: ["abc123hij-k","abc123hij-k","abc456hij-k","abc954hij-k","abc01234hij-k","xyz123hij-k","x123hij-k","21030003020"] Test Output: true

Viewing 441 - 450 interview questions

Glassdoor has 71,582 interview questions and reports from Senior software engineer interviews. Prepare for your interview. Get hired. Love your job.