Principal Software Development Engineer Interview Questions

10,184 principal software development engineer interview questions shared by candidates

Implement a method 'find' that will find the starting index (zero based) where the second list occurs as a sub-list in the first list. It should return -1 if the sub-list cannot be found. Arguments are always given, not empty. Sample Input 1 list1 = (1, 2, 3) list2 = (2, 3) Sample Output 1 1 Explanation As second list (2, 3) is sub-list in first list (1, 2, 3) at index 1 Sample Input 2 list1 = (1, 2, 3) list2 = (3, 2) Sample Output 2 -1
avatar

Principal Software Developer

Interviewed at Atlassian

3.2
Jun 23, 2016

Implement a method 'find' that will find the starting index (zero based) where the second list occurs as a sub-list in the first list. It should return -1 if the sub-list cannot be found. Arguments are always given, not empty. Sample Input 1 list1 = (1, 2, 3) list2 = (2, 3) Sample Output 1 1 Explanation As second list (2, 3) is sub-list in first list (1, 2, 3) at index 1 Sample Input 2 list1 = (1, 2, 3) list2 = (3, 2) Sample Output 2 -1

In technical rounds, questions were mostly to judge java coding skills, problem solving skills, design skills, any important functionality you delivered in your current project, etc. eg. Two threads, one printing odd numbers, another printing even numbers. Run them in such a way, output comes as 1,2,3,4,... in order.
avatar

Principal Software Engineer

Interviewed at SAP

4.2
Oct 4, 2015

In technical rounds, questions were mostly to judge java coding skills, problem solving skills, design skills, any important functionality you delivered in your current project, etc. eg. Two threads, one printing odd numbers, another printing even numbers. Run them in such a way, output comes as 1,2,3,4,... in order.

Whirlpool sells 20 models of air-conditioners with an average retail price of $800. If none of their products sell for less than $300, and exactly 5 sell for less than $600, what is the greatest possible selling price for their most expensive air conditioning product?
avatar

Principal Data Analyst

Interviewed at Forge

3.6
Apr 7, 2022

Whirlpool sells 20 models of air-conditioners with an average retail price of $800. If none of their products sell for less than $300, and exactly 5 sell for less than $600, what is the greatest possible selling price for their most expensive air conditioning product?

Viewing 1231 - 1240 interview questions

Glassdoor has 10,184 interview questions and reports from Principal software development engineer interviews. Prepare for your interview. Get hired. Love your job.