GoModer Interview Experiences

Interview Experience At GoModer

Sure, here are the questions I could extract from the given text:

Question: Take a list of number, 2, 5, 10, some random number.  Find out the second largest number into this list.

Answer:

Java
 List<Integer> numbers = Arrays.asList(1, 3, 8, 23, 28, 1, 2);

 int num = numbers.stream().sorted(Comparator.reverseOrder()).skip(1).findFirst().orElse(null);
 
 //Other ways
 int num3 = numbers.stream().sorted(Comparator.reverseOrder())
                            .limit(2)
                            .reduce((first, second)->second)
                            .orElse(null);
System.out.println("Num3:"+ num3);

Please Learn more about Limit, Skip, reduce in following blog.

Question: Two list list1: {“Apple”, “Bannana”} and list2= {“Bannana”, “Graphs”} So, what I want is the common string between these two lists. Banana

Answer:

Same string? Yeah, string. Take a… Add a list as a banana and cat. Banana and? Do anything else, cat.Okay. 

  1. What are the services you use on AWS?
  2. What are the things you develop on Lambda?
  3. What is AWS Lambda? Why you choose Lambda for this requirement?
  4. What are the different ways Lambda can be triggered?
  5. What are the configurations required to configure the API gateway to cause the Lambda?
  6. What is the cold start of Lambda? Cold start state of Lambda? Warm start state of Lambda?
  7. What is the AWS Lambda layer?
  8. What are different type of queues are there in SQS?
  9. There is a delay time we can configure in SQS. Do you know what is that one?
  10. Did you connect multiple database from Silver Spring Boot application?
  11. Find out the second largest number into this list.
  12. Can you do with the Java string?
  13. String is for lazy implementation. Do you know why?
  14. Did you implement cache in Spring Boot?
  15. How do you implement the cache?
  16. How to make a class as a singleton class?
  17. Is singleton thread safe?
  18. How do we make a thread safe singleton?
  19. What is serial version ID? Why we use?
Avatar

Neelabh

About Author

As Neelabh Singh, I am a Senior Software Engineer with 6.6 years of experience, specializing in Java technologies, Microservices, AWS, Algorithms, and Data Structures. I am also a technology blogger and an active participant in several online coding communities.

You may also like

Blog Interview Experiences

Landing My Dream Job: An In-depth Look at My Amazon SDE2 Interview Experience in Bangalore

Amazon SDE2 Interview Navigating the path to securing a Software Development Engineer II (SDE2) position at Amazon’s Bangalore office was
Blog Interview Experiences

Decimal to Roman Numeral Conversion

Objective: Write a program that converts a decimal number (in the range of 1 to 5000) into its equivalent Roman