Senior software development engineer Interview Questions | Glassdoor.co.in

# Senior software development engineer Interview Questions

386

senior software development engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Senior Software Development Engineer In Test at Kony was asked...

18 Sep 2014
 Given a string, konylabsinterview write a program to return bool if a given pattern matches.pattern example - kon*lab*terview*5 AnswersUse KMPHi, Please see if you can provide the details of the question posed in the context of binary search tree. Thanks.Hi, Please see if you can provide the details of the question posed in the context of binary search tree. Thanks.Show more responses//IsSubstring("Interview Question", "Que") returns true public static bool IsSubstring(string s, string sub) { char[] str = s.toCharArray(); char[] substr = sub.ToCharArray(); int pos,subpos=0; bool check = false; for (pos=0;pos<=str.length();pos++) // for repeating the process of matching the substring across the entire string. { for(subpos=0;subpospublic class Test{ public static void main(String args[]){ String Str = new String("konylabsinterview"); System.out.print("Return Value :" ); System.out.println(Str.matches("kon(.*)lab(.*)terview(.*)")); } }

### Senior Software Development Engineer at Microsoft was asked...

20 Feb 2012
 Probability of a knight making a valid move on NxN matrix in m steps.4 AnswersGiven in the description above.Guess what , I got almost the same question on my first interview with Google , and I was applying as a new college grad ....i also can up with a DP solution with O(64m) .... btw can you provide the link to the solution you came across ...??@mohan: I don't have a link to solution, its something I worked out on a piece of paper.Show more responsesBuddy, I think you thinking a bit too complicatedly. A knight on a chess board only has 8 legal moves. and if it is anywhere closer than being atleast 2 boxes from the border it will be less than 8. just take a input of all the pieces on the NxN matrix. check these 8 positions and calculate the probability

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

2 Aug 2014
 How many balls can u place into a box out of 25 balls.Not mentioned anthing more than this...how funny is this :)3 AnswersHypothetical questionall of themI think you were expected to get details by asking questions which is expected from a experienced professional(Requirement gathering).

### Senior Software Development Engineer at ServiceNow was asked...

6 Apr 2020
 Coding round : If A,B,C are 3 non-zero digits(1-9), find all combinations of A,B,C such that AB * AB = CAB.3 AnswersJust solve it mathematically by considering all possible digits that satisfy this condition at units digit first and then the solution will automatically fall in place.If i understood the problem correctly: Repetition is allowed Sol: If you see AB*AB = ABC -> (AB*AB)/AB=C; ->AB = C; so basically you need to find out those values whose multiplication is equal to C and C can not be more than 9: So you will find these : (1,1)(1,2).....(1,9) (2,1)(2,2)(2,3)(2,4), (3,1)(3,2)(3,3),(4,1),(4,2),(5,1)(6,1)(7,1)(8,1)(91)AB * AB = CAB and not ABC

### Senior Software Development Engineer In Test at Pegasystems was asked...

10 May 2015
 How do you check whether String contains any duplicate characters?2 AnswersI answered him by saying Get a byte array and Get each character of String, Convert it to ASCII number and mark the position of byte array as that of ASCII numbervar inputValue = "aabcdefgghi" ; var result = OnlyOnceCheck(inputValue); Console.WriteLine(result.ToString()); public static bool OnlyOnceCheck(string input) { return input.GroupBy(x => x).Any(g => g.Count() > 1); }

### Senior Software Development Engineer at DXC Technology was asked...

28 Jul 2017
 Why are you changing the company2 AnswersDue to personal concernsI believe we should be genuine while answering these type of questions. Most of the time we change job because of salary. So nothing wrong in mentioning salary as a reason to change.

### Senior Software Development Engineer TEST at Pegasystems was asked...

13 Aug 2019
 Convert string to float without using any functions2 AnswersGoodGood

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

24 Sep 2012
 Lot of questions on the datastructure might be easier to remember all those stuff right out of college but after 9 years of expereince its very difficult2 AnswersPlease go through the datastrucuture conceptsHi... Could you please suggest some questions which was asked in your interview..?

### Senior Software Development Engineer at Expedia Group was asked...

27 Feb 2020
 Round1 : 1) Given a list of words, group them by anagrams Input: List of "cat", "dog", "god" Output: A Set of Sets of anagrams: {{'cat'}, {'dog', 'god'}} 3) Consider adding some additional tests in doTestsPass(). 4) Implement the AnagramSolution group() method correctly. 5) If time permits, try to improve your implementation. dog -> dgo -> {dog} god -> dgo -> {dog, god}2 AnswersSort every word on character basis and use a hashmap to store the list of words that anagrams.The key in these questions is to cover the fundamentals, and be ready for the back-and-forth with the interviewer. Might be worth doing a mock interview with one of the Expedia or ex-Expedia Senior Software Development Engineer experts on Prepfully? They give real-world practice and guidance, which is pretty helpful. prepfully.com/practice-interviews

### Senior Software Development Engineer at Expedia Group was asked...

27 Feb 2020
 Round3 : Question1 : How will you implement your own ThreadPool using jdk1.4like that of Executor in jdk1.5 Question2: How will you convert a monolithic application like makemytrip into Microservices? Question3: We have less number of resources for the tasks, so are you ready to work in odd extended hours?2 AnswersI see the answers of above questions on - nitinagrawal.com/expedia.htmlIts a waste to try for such organisations. I am not sure if you were supposed to be on their direct payroll, as in these companies people are hired on third party payroll to do menial tasks for extended hours.
110 of 386 Interview Questions