Senior Software Design Engineer Interview Questions | Glassdoor

# Senior Software Design Engineer Interview Questions

12

Senior software design engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Senior Software Design Engineer at Amazon was asked...

Jan 26, 2011
 Reverse a sentence but keep the individual words in the same order2 AnswersComplexity is O(n). Note. string is immutable object so I used stringbuilder for inplace reversal. class ReverseWords { public static void Reverse(ref StringBuilder strInput) { //Reverse the entire sentence Reverse(ref strInput, 0, strInput.Length - 1); //Reverse the words withing reverse sentence int startIndex = 0; int endIndex = 0; while (endIndex < strInput.Length) { if (endIndex == strInput.Length - 1) { Reverse(ref strInput, startIndex, endIndex); startIndex = endIndex + 1; } else if (strInput[endIndex] == ' ') { Reverse(ref strInput, startIndex, endIndex - 1); startIndex = endIndex + 1; } endIndex++; } } private static void Reverse(ref StringBuilder strInput, int startIndex, int endIndex) { for (int i = startIndex; i <= (endIndex + startIndex)/ 2; i++) { char temp = strInput[i]; strInput[i] = strInput[endIndex + startIndex - i]; strInput[endIndex + startIndex - i] = temp; } } }What data structure solution has order 1 look up and is always sorted?

### Senior Software Design Engineer at Amazon was asked...

May 2, 2010
 Given a base 2 integer, give me an algorithm for detecting if it is a palindrome. What is the run time performance of this?1 AnswerLet the number, num, have n bits. 1. upper = !(num >> n/2) 2. lower = (num > n/2 3. return upper == lower Complexity O(1).

### Senior Software Design Engineer at Inspur Group was asked...

May 3, 2015
 I don't remember being asked any outright questions, we discussed dimension-conformation, Data-Warehousing fundamentals and Cosmos/Scope basics.1 AnswerI engaged in high-level discussion and pushed my belief in managed small dimensions and small highly performant OLAP cubes.

### Senior Software Design Engineer at Amazon was asked...

May 2, 2010
 C++ has the concept of multiple inheritance. Java does not have this concept, how can multiple inheritance be implemented in java? Be the first to answer this question

### Senior Software Design Engineer at Amazon was asked...

Jan 26, 2011
 Design a file system (Object Model question)Be the first to answer this question

### Senior Software Design Engineer at Amazon was asked...

May 2, 2010
 Given a text log of HTTP requests on a particular server, each line has a username and the name of the page the user visited. The pages requests aren't in order and multiple requests from different users are logged in this file non sequentially. Find the most common 3 page sequence for each user.Be the first to answer this question

### Senior Software Design Engineer at SAP Concur was asked...

Aug 6, 2016
 Signed an NDA, so cannot disclose specific questions. For this position, be very strong in Java concepts as well as Java coding. This position specifically required a Java developer. Knowing multithreading and collections is important. Also, know about OOP design patterns and system design, scalibility, basic data structures etc.Be the first to answer this question

### Senior Software Design Engineer at Amazon was asked...

May 2, 2010
 What is the same origin policy?Be the first to answer this question

### Senior Software Design Engineer at Amazon was asked...

May 2, 2010
 How do you find the least common ancestor of two nodes in a binary search tree? What is the runtime performance of this?Be the first to answer this question

### Senior Software Design Engineer/Test at SAP Concur was asked...

Nov 12, 2015
 Standard algorithm and data structure questions; test case design and test process questions.Be the first to answer this question
110 of 12 Interview Questions