Filter interviews by
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
Lazy loading is a design pattern in Hibernate where data is loaded only when it is requested.
Lazy loading helps in improving performance by loading data only when needed.
It is achieved by setting the fetch type to lazy in the mapping of entities.
For example, in a one-to-many relationship, the child entities are loaded lazily to avoid unnecessary data retrieval.
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2020. There were 3 interview rounds.
I applied via Referral and was interviewed before Dec 2020. There was 1 interview round.
I applied via Approached by Company and was interviewed before Feb 2021. There was 1 interview round.
I appeared for an interview before Sep 2020.
Round duration - 70 minutes
Round difficulty - Easy
The first round was the Online Coding Round of 70 minutes with 3 problems of 3 marks, 3 marks, and 4 marks respectively.
The first two questions were easy and the third one was a bit tricky. The round started at 6 PM.
Anyone who is practicing continuously could have solved these questions easily within the time limit. The test cases were also not so hard and distinct. I coded in C++ language.
The questions asked were-
1. Minimum insertions required to make a string palindrome
2. To find the distance of the closest leaf from a node with given data.
3. Add two numbers represented by linked lists
22 students were selected for the next round.
Determine the minimal number of characters needed to insert into a given string STR
to transform it into a palindrome.
STR = "abcaa"
The task is to find the minimum number of characters needed to insert into a given string to make it a palindrome.
Use dynamic programming to find the longest palindromic subsequence of the given string.
Subtract the length of the longest palindromic subsequence from the length of the original string to get the minimum insertions required.
Handle edge cases like an empty string or a string that is already a palindrome.
Exa...
Ninja is stuck in a maze represented as a binary tree, and he is at a specific node ‘X’. Help Ninja find the shortest path to the nearest leaf node, which is considered an ex...
Find the minimum distance from a given node to the nearest leaf node in a binary tree.
Traverse the binary tree from the given node 'X' to find the nearest leaf node using BFS or DFS.
Keep track of the distance from 'X' to each leaf node encountered during traversal.
Return the minimum distance found as the output.
Given two singly linked lists, with each list representing a positive number without leading zeros, your task is to add these two numbers and return the result in the form of a new...
Add two numbers represented by linked lists and return the result as a new linked list.
Traverse both linked lists simultaneously while adding corresponding elements and carry over the sum if needed
Handle cases where one linked list is longer than the other
Create a new linked list to store the sum of the two numbers
Round duration - 80 minutes
Round difficulty - Easy
It was a technical interview. The platform used was google meet for online video calling. The interviewer first introduced himself then asked me to introduce myself. He also asked about my well-being amid the Covid-19 pandemic. He asked me 3 problems from data structures. He put a lot of focus on my project. We discussed about my project for about 20 mins. He asked various questions related to my project and I answered them confidently. After 70-75 mins he said that interview was over and that I may ask him anything. I asked him to give me feedback about my resume and my project. He gave me advice to improve my resume and the interview was over. The first technical interview was easy and was not so challenging as I was prepared.
Given an array of integers ARR
with length 'N' and an integer 'Target', the task is to find all unique pairs of elements that add up to the 'Target'.
First line: Integer...
Find all unique pairs of elements in an array that add up to a given target sum.
Use a hashmap to store the difference between the target sum and each element as keys and their indices as values.
Iterate through the array and check if the current element's complement exists in the hashmap.
Return the pairs of elements that add up to the target sum.
Sort the given array of integers in ascending order using the quick sort algorithm. Quick sort is a divide-and-conquer algorithm where a pivot point is chosen to partition the...
Implement quick sort algorithm to sort an array of integers in ascending order.
Choose a pivot element (e.g., rightmost element) to partition the array into two subarrays.
Recursively apply quick sort on the subarrays until the entire array is sorted.
Time complexity can be optimized to NlogN for worst-case scenarios.
Given a sequence of numbers, denoted as ARR
, your task is to return a sorted sequence of ARR
in non-descending order using the Merge Sort algorithm.
The Merge Sort...
Implement Merge Sort algorithm to sort a sequence of numbers in non-descending order.
Implement the Merge Sort algorithm which involves dividing the array into two halves, sorting each half, and then merging them back together.
Recursively call the Merge Sort function on each half of the array until the base case of having a single element in the array is reached.
Merge the sorted halves back together in a new array in no...
Round duration - 60 minutes
Round difficulty - Medium
This was also a technical round. The interviewer focused on data structures and resume. Apart from some basic questions about my resume, he asked majorly about data structures and algorithms. The interview was an hour long and he asked only 2 problems. Both of them were from trees. In this round, he focused if I can change my approach if a slight change is made in the question. Like he asked me to write code for inorder traversal. Obviously, I used a recursive approach. He then asked me to use the iterative method to find inorder traversal of the tree.
The questions he asked were-
1. Inorder traversal (both recursive and iterative method)
2. Level Order Traversal
( For obvious reasons I knew level order traversal very well. I coded it swiftly, so he asked me to write code for Zig-Zag traversal)
Find the inorder successor of a given node in a binary tree. The inorder successor is the node that appears immediately after the given node during an inorder traversal....
Find the inorder successor of a given node in a binary tree.
Perform an inorder traversal of the binary tree to find the successor of the given node.
If the given node has a right child, the successor will be the leftmost node in the right subtree.
If the given node does not have a right child, backtrack to the parent nodes to find the successor.
Given a binary tree with integer values in its nodes, your task is to print the zigzag traversal of the tree.
In zigzag order, level 1 is printed from left to right...
Implement a function to print the zigzag traversal of a binary tree.
Use a queue to perform level order traversal of the binary tree.
Maintain a flag to switch between printing nodes from left to right and right to left at each level.
Store nodes at each level in a list and reverse the list if the flag is set to print in zigzag order.
Round duration - 50 minutes
Round difficulty - Medium
This was the final round of the Interview process. My interview was scheduled for 7.30 PM. It started at approximately 7.40 PM. The main focus of the interviewer was on my projects and my skills. He asked me many questions regarding my project like what problems I faced, what did you learn from this, apart from developing skills what else did you learn while developing the project, why did you use this tech instead of this, security features, scalability of the project and many more. I answered almost every question as perfectly as I can. Later he asked me some basic questions from NodeJS (as I am a full stack developer). In the end, he asked a puzzle. I didn't know the solution to the puzzle but we discussed it and I figured out the solution.
Tip 1 : Properly grasp Data Structures and Algorithms from basics.
Tip 2 : Learn about Time complexity
Tip 3 : Be honest and walk through your thought process to the interviewer.
Tip 4 : Its always good to be presentable and have good communications skills
Tip 1 : Never Lie on your resume. Only write what you have done and what you know.
Tip 2 : It's good to have one or two projects on your resume. Mention the tech stack you used and a brief description of the project. It will be best if you host/upload your project on the cloud.
Tip 3 : Avoid unnecessary details like Hobbies, family details, declaration, date, signature, etc.
Tip 4 : You're more than a 1-page resume. But your resume should not be more than a page
To find the average profit on a given loan, divide the total profit by the number of loans.
Calculate the total profit earned on the loan
Determine the number of loans
Divide the total profit by the number of loans to find the average profit
Example: If the total profit earned on 10 loans is $1000, the average profit per loan is $100
When choosing between two marketing schemes, it's important to consider the target audience, budget, and goals.
Consider the target audience and which scheme would be more appealing to them
Evaluate the budget and determine which scheme is more cost-effective
Assess the goals of the marketing campaign and choose the scheme that aligns best with those goals
Conduct market research to gather data on the effectiveness of each...
Setting up a new ATM involves various costs and considerations such as location, equipment, maintenance, and security.
Location is a crucial factor in determining the success of an ATM. It should be easily accessible and visible to potential users.
Equipment costs include the ATM machine, software, and communication systems.
Maintenance costs include regular servicing, cash replenishment, and repairs.
Security measures suc...
I asked my peers for help when I was struggling with a project deadline.
I explained my situation and asked for their input
They were able to offer suggestions and resources that helped me meet the deadline
I expressed my gratitude and offered to return the favor in the future
I had to learn a new programming language for a project
Researched online resources and tutorials
Practiced coding exercises to gain proficiency
Collaborated with team members who were experienced in the language
Implemented the language in the project successfully
I led a team to complete a project in 3 days instead of 5
Set clear goals and priorities
Divide tasks among team members based on strengths
Communicate regularly to ensure progress and address issues
Worked overtime to meet the deadline
Received positive feedback from the client
posted on 30 Aug 2016
I applied via Campus Placement
I applied via Campus Placement
based on 2 interviews
Interview experience
based on 3 reviews
Rating in categories
Data Entry Operator
104
salaries
| ₹0.9 L/yr - ₹4.2 L/yr |
Software Developer
44
salaries
| ₹1.9 L/yr - ₹5.8 L/yr |
Java Developer
35
salaries
| ₹1.9 L/yr - ₹4 L/yr |
Software Engineer
29
salaries
| ₹3 L/yr - ₹9.5 L/yr |
Devops Engineer
29
salaries
| ₹2.5 L/yr - ₹8.1 L/yr |
Paytm
Fiserv
PhonePe
KFintech