Summary
I was selected for the SDE-1 Java Full-stack role at Optum in Hyderabad after two rounds of interviews. The interviews covered Data Structures & Algorithms, Core Java, Spring Boot, React, SQL, and project-specific behavioral questions.
Full Experience
Current Experience: 1.10 Years College: Tier-2 Previous Organization: One of the MNCs
I got a call from a recruiter through Naukri. Here are the questions I was asked:
1st Round: Buy and sell stock 1: You are given an array 'prices' where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0. Input: prices = [7,1,5,3,6,4] Output: 5
What is ConcurrentModificationException? How to prevent it? Question about Stream API: Input: javaCopyList sentences = Arrays.asList( "Java is fun", "Java is powerful", "Coding in Java is fun");
Output: {java: 3, is: 3, ...} Calculate word frequency and return the output using Stream API.
What is dependency injection? How many ways can DI be done in Spring Boot? How to handle exceptions in Spring Boot? Write an exception handler class.
Project: How did you ensure 100% accuracy in data migration from oracleDB to postgreSQL?
2nd Round:
Given an array of elements, return a pair with maximum product. Handle negative values. Write an O(n) time complexity solution.
How many React components did you make in your project? What is the Virtual DOM? Write a SQL query to find users who logged in more than 2 times. What challenges did you face in your project? How did you solve them?
Questions about Core Java: What is the static keyword? How to handle exceptions in Core Java?
Verdict: Selected
Interview Questions (11)
You are given an array 'prices' where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction. If you cannot achieve any profit, return 0. Input: prices = [7,1,5,3,6,4] Output: 5
What is ConcurrentModificationException? How to prevent it?
Question about Stream API: Input: javaCopyList sentences = Arrays.asList( "Java is fun", "Java is powerful", "Coding in Java is fun");
Output: {java: 3, is: 3, ...} Calculate word frequency and return the output using Stream API.
What is dependency injection? How many ways can DI be done in Spring Boot? How to handle exceptions in Spring Boot? Write an exception handler class.
Project: How did you ensure 100% accuracy in data migration from oracleDB to postgreSQL?
Given an array of elements, return a pair with maximum product. Handle negative values. Write an O(n) time complexity solution.
How many React components did you make in your project? What is the Virtual DOM?
Write a SQL query to find users who logged in more than 2 times.
What challenges did you face in your project? How did you solve them?
What is the static keyword?
How to handle exceptions in Core Java?
Summary
I interviewed for a Software Engineer role within Optum's Technology Development Program, which involved a multi-stage process including DSA, core technical questions, project discussions, and behavioral rounds. I successfully navigated all interviews and ultimately received an offer.
Full Experience
Round 1 (DSA Written Test)
The first round was a written test that included one Data Structures and Algorithms (DSA) question, specifically a Dynamic Programming (DP) problem. Additionally, there were 25 aptitude MCQs and 25 core subjects MCQs.
Round 2 (Technical Interview)
Around 40 students were shortlisted for this technical interview. I was asked one DSA question. The interviewer also touched upon DBMS, OS, and IoT topics, likely because I had mentioned them on my resume.
Core + Project Discussion
The interviewer first asked for my preferred coding language, to which I replied C++. They then probed me with questions about C++, covering various data structures and algorithm analysis. Following this, I was asked to discuss Object-Oriented Programming (OOPs) concepts and provide practical examples.
Since I had a MERN stack project, the discussion shifted to questions related to NodeJS and JavaScript. I was asked to justify my choice of the MERN stack over others, why JavaScript is used in the backend given other language options, and what specific problem-solving capabilities or upgrades the MERN stack brings to web development.
Finally, I faced some situation-based questions, one of which involved a scenario where teammates were falling behind on a project deadline and how I would help.
After this round, I was selected for the HR round.
Round 3 (HR)
The HR round consisted of basic behavioral questions.
Final Verdict
I was SELECTED! :)
Interview Questions (5)
The interviewer asked me to discuss Object-Oriented Programming (OOPs) concepts and provide some practical examples.
I was asked to explain why I chose the MERN stack for my project and why I did not opt for other technology stacks.
The interviewer questioned the necessity of using JavaScript in the backend, considering the availability of other programming languages.
I was asked to describe what problem-solving capabilities or upgrades the MERN stack provides in the context of web development.
I was presented with a scenario: 'While working on a team project, you notice that some of your co-workers are falling behind. What would you do to help your team meet the deadline?'