Principal Engineer Interview Questions

4,344 principal 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.

1. 4 rods arranged into a diamond shape mechanism. A load is placed at one joint. Indicate the forces/stresses in each rod. Can you optimise the rods to improve material usage. 2. A disposable cutting tool for tissue and cartilage. Give some examples of how you would power the movement of this cutter. 3. How would you design the dosage system of a dry powder inhaler. 4. How would you mount an LCD display into a housing
avatar

Principal Engineer

Interviewed at Cambridge Consultants

4.2
Dec 22, 2015

1. 4 rods arranged into a diamond shape mechanism. A load is placed at one joint. Indicate the forces/stresses in each rod. Can you optimise the rods to improve material usage. 2. A disposable cutting tool for tissue and cartilage. Give some examples of how you would power the movement of this cutter. 3. How would you design the dosage system of a dry powder inhaler. 4. How would you mount an LCD display into a housing

During phone interview basic JavaScript questions were asked and asked to write a function that sums up an array of numbers, the length of the array is not fixed. I believe the whole intention was to find if one know the concept of 'arguments'
avatar

Principal UI Engineer

Interviewed at Walmart

3.4
Dec 14, 2015

During phone interview basic JavaScript questions were asked and asked to write a function that sums up an array of numbers, the length of the array is not fixed. I believe the whole intention was to find if one know the concept of 'arguments'

Viewing 541 - 550 interview questions

Glassdoor has 4,344 interview questions and reports from Principal engineer interviews. Prepare for your interview. Get hired. Love your job.