Software Engineer Principal Interview Questions

10,171 software engineer principal interview questions shared by candidates

1. What is the difference between JPA, Hibernate and Spring JDBC 2. What is AWS Lambda and why we need it 3. How much time does AWS Lambda take for running a program (15 min) and what memory size it allows (5MB) 4. Write a Singleton and explain how you can create instance of Singleton from Cloneable 5. How to write Singleton to handle multiple threads 6. What are the features of Java 8 7. What is Global Load balancing 8. Write a Program to remove duplicates from an ArrayList without using a Set 9. What is String pool and why is String Immutable 10. Write answer for this code String s1 = "abc"; String s2 = "abc"; Sysout(s1 == s2); // true, since they both are in String pool Sysout(s1.equals(s2)); // true String s3 = new String("abd"); Sysout(s1==s3) // false Sysout(s1.equals(s3); // true 11. What are the datatypes in Java
avatar

Principal Engineer(Java/Golang)

Interviewed at ConnectWise

3
Oct 26, 2021

1. What is the difference between JPA, Hibernate and Spring JDBC 2. What is AWS Lambda and why we need it 3. How much time does AWS Lambda take for running a program (15 min) and what memory size it allows (5MB) 4. Write a Singleton and explain how you can create instance of Singleton from Cloneable 5. How to write Singleton to handle multiple threads 6. What are the features of Java 8 7. What is Global Load balancing 8. Write a Program to remove duplicates from an ArrayList without using a Set 9. What is String pool and why is String Immutable 10. Write answer for this code String s1 = "abc"; String s2 = "abc"; Sysout(s1 == s2); // true, since they both are in String pool Sysout(s1.equals(s2)); // true String s3 = new String("abd"); Sysout(s1==s3) // false Sysout(s1.equals(s3); // true 11. What are the datatypes in Java

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

Viewing 1261 - 1270 interview questions

Glassdoor has 10,171 interview questions and reports from Software engineer principal interviews. Prepare for your interview. Get hired. Love your job.