Senior Software Developer Interview Questions | Glassdoor

Senior Software Developer Interview Questions


Senior software developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

What would you do if senior management demanded delivery of software in an impossible deadline?

3 Answers

Give them the choice of reduced scope, more resources, or changed dates. They can only pick 2.

It is possible to keep scope, resources & timeline (dates) unchanged, but compromise on quality. This will impact team retention, especially the stronger engineers on the team, over the longer run. The leadership team must understand the consequences.

The feasibility which could lead to happen this type of situations is due to critical business needs. It means senior management would be actively involved and here agile framework will come into play. Delivering the workable product and then further developing the solution would be the best possible shot for win win situation.

Another was a puzzle: A king orders 100 bottles of wine for a celebration. A courtier who's angry with the king over something puts poison in one of those bottles. The king has a way of identifying the poisoned bottle by giving a few drops of wine to a monkey. Since the poison is fast acting, the monkey will die immediately. Whats the minimum number of monkeys needed to find the poisoned bottle?

6 Answers

Given a list of integers A and an integer k, return the number of unique pairs of integers in A that sum to k. For example, if A=[1 2 5 5 10 8 2] and k=10, the answer is 2, arrived as 5+5 or 2+8. There were 15 tests for this question, with at least the last two timing out, given that the implementation was not as efficient as possible.

5 Answers

1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.

5 Answers

How do you write an algorithm to count all subsets of strings in a string.

6 Answers

Given a positive integer N, write a function to return a list of the first N fibonacci numbers in order. For example, if N=5, the output list is 0 1 1 2 3.

4 Answers

Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [−2,1,−3,4,−1,2,1,−5,4], the contiguous subarray [4,−1,2,1] has the largest sum = 6.

3 Answers

Can you explain the 5 basic principals for object oriented programming?

3 Answers

One of the question was on Designing & Code a TTL Cache with some modifications

8 Answers

Python question: what is the difference between "[x for x in range(3)]" and "(x for z in range(3))"

3 Answers
110 of 1,089 Interview Questions