The question was about some parsing logic. the problem statement was well defined and the input and output was also defined very well.
Principal Software Interview Questions
10,171 principal software 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
What is the most difficult technical problem [in regards to information technology] that you have ever encountered, and how did you handle the problem?
Write programs.
system design: designing a system for keeping track of user statuses
Similar to other ones posted in glass door already. Snake game, voting system, feature flag system, go through projects in detail, values etc etc
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
Do you surf?
Tell us about your experience
We read your writing sample for this position, what was the weakest part of your paper?
Viewing 1261 - 1270 interview questions