Filter interviews by
Top trending discussions
Finding duplicate values in an array of strings
Iterate through the array and store each element in a hash set
If an element is already in the hash set, it is a duplicate
Return the duplicate values found
Generators in JavaScript are functions that can be paused and resumed, allowing for asynchronous programming.
Generators are defined using function* syntax.
They use the yield keyword to pause execution and return a value.
Generators can be iterated over using a for...of loop.
They are commonly used for asynchronous operations and managing state.
Flatten an array without using inbuilt functions
Create a recursive function to iterate through the array elements
Check if each element is an array, if so, call the function recursively
Concatenate the elements into a new array
Transactional annotation in Spring is used to define the scope of a transaction.
Transactional annotation is used to mark a method or a class as transactional.
It ensures that all the operations within the annotated method or class are executed within a single transaction.
If an exception occurs, the transaction is rolled back.
Transactional annotation can be applied at the method level or class level.
It provides various a...
Cache in Spring is a mechanism to store frequently accessed data in memory for faster retrieval.
Cache improves application performance by reducing the load on the database.
Spring provides caching support through annotations like @Cacheable, @CachePut, and @CacheEvict.
Caches can be configured with different eviction policies, such as LRU or FIFO.
Example: @Cacheable annotation can be used to cache the result of a method
I applied via Recruitment Consulltant and was interviewed before Mar 2023. There were 3 interview rounds.
30 Technical MCQs, 1 medium level code
posted on 27 Oct 2021
I was interviewed in Aug 2021.
Round duration - 30 minutes
Round difficulty - Medium
It was in the morning. We had to complete 1 coding question in given time limit
Given a paragraph consisting of letters in both lowercase and uppercase, spaces, and punctuation, along with a list of banned words, your task is to find th...
Round duration - 60 minutes
Round difficulty - Hard
Interviewer was friendly. He asked 2 coding questions and some fullstack questions.
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...
The idea here is to first, sort the critical POINTS with respect to their coordinate and height pairs. Make a pair of 'X1' and take a negative of the height for the building so that 'X1' pairs are sorted before 'X2' pairs. Create a dictionary keeping the heights as keys and as soon as a left edge of a building is encountered, we add that building to the dictionary with its height as the key. When we encounte...
Tip 1 : Practice coding questions
Tip 2 : Try to research about previous interview questions
Tip 1 : Prepare the resume as per the job
Tip 2 : Write in a clear manner
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
Its duration is of 90 minutes in the hackerearth platform with 30 mcqs, 1 coding question and 1 sql query. It is a Web Proctored Exam. As its a hackathon we can write the written test from 11th Feb 2021 to 21st Feb 2021(11:59 p.m).
You are given a binary matrix with 'M' rows and 'N' columns, initially consisting of all 0s. You will receive 'Q' queries, which can be of four types:
Query 1: 1 R inde...
A simple idea is to traverse the given row or column. If you come across a query that is of type 1 then swap 0 with 1 and vice-versa and for the query of type 2 initialize a variable ‘COUNT’ and increment count when you encounter ‘0’ and return ‘COUNT’.
The steps are as follows:
Round duration - 30 Minutes
Round difficulty - Medium
The interview is conducted over the Teams Call at around 5:40 on 27th February. It is combined of both TR and HR. It was one of the best experience that I had so far. The TR and HR are about 15 mins for every candidate.
Tip 1 : Have a Good Resume
Tip 2 : Have an understanding of Full Stack application development
Tip 3 : Have a passion to learn new technologies and drive major transformation
Tip 1 : Keep your resume up to date for the role you are applying.
Tip 2 : Keep it short and sweet.
Tip 3 : Dont lie on your resume. You should have atleast the basic knowledge of the technologies which you have mentioned in your resume.
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
SOLID, API Security, Git commands, Node.js basics
I was interviewed in Jul 2021.
Round duration - 120 Minutes
Round difficulty - Medium
This was a coding round conducted from 12 PM to 2 PM and it was not proctored but we could not switch the tabs. There were 2 coding questions each of 100 marks. The MCQ had HTML,CSS, JS, SQL, Coding and aptitutude questions.
Given an integer N
, find all possible placements of N
queens on an N x N
chessboard such that no two queens threaten each other.
A queen can attack another queen if they ar...
Given a string ‘S’, your task is to rearrange its characters so that no two adjacent characters are the same. If it's possible, return any such arrangement, otherwise re...
In this approach, we will generate all the possible rearrangements of the string and check if the current string in our rearrangement does not have any two adjacent characters that are the same. If we can find any string which satisfies our criteria then we will return that string else we will return “not possible”.
We can implement the above approach by –
Round duration - 60 minutes
Round difficulty - Easy
There were two interviewers. They started by asking me to introduce myself and asked me to explain any one of my projects in my resume and after that, they asked me about the ML algorithms used in my project and about the difficulties faced. What is NaN property in JavaScript? This took around 10 minutes. They also asked 2 coding questions.
It was conducted at 10 AM on CodePair and MS Teams. Interviewers were friendly.
Given an array/list of strings STR_LIST
, group the anagrams together and return each group as a list of strings. Each group must contain strings that are anagrams of each other.
The idea behind this approach is that two or more than two strings are anagrams if and only if their sorted strings are equal. So we will use a HashMap, let’s say “anagramGroup”, where each key is a sorted string, and the key will be mapping to the list of indices from the given list of strings that form a group of anagrams. This means that if we sort the strings at those indices, we will get the ...
The task is to determine the total number of ways to pair up 'N' friends or leave some of them single, following these rules:
The idea is to solve the problem using recursion and break down the problem into different subproblems.
Let’s define NUMBER_OF_WAYS(N) as the total number of ways ‘N’ friends can be paired up or remain single.
The N-th person has two choices - either remain single or pair up with one of the other ‘N - 1’ friends.
If he remains single, then the number of possible pairings are NUMBER_OF_WAYS(N - 1) as there are (N...
Round duration - 60 Minutes
Round difficulty - Medium
There were 2 questions based on data structures, the round started from 1.15 PM .Some SQL questions like What is a Subquery? What are its types? What are UNION, MINUS and INTERSECT commands?
You are given a binary tree, and the task is to perform a vertical order traversal of the values of the nodes in the tree.
For a node at position ('X', 'Y'), th...
The intuition is to find the breadth of the tree first so that we can beforehand know the maximum horizontal distance and minimum horizontal distance of a node from the root node. We can use the absolute value of minimum horizontal distance as an offset. Now we can use an array/list visited to store the visited nodes where ith element will store the node at (i - offset”) distance horizontally from the...
You are given two integers dividend
and divisor
. Your task is to divide the integers without using multiplication, division, and modular operators. Return the quotien...
We can subtract the divisor from the dividend until the dividend is greater than the divisor. The quotient will be equal to the number of total subtractions performed.
Below is the detailed algorithm:
Round duration - 30 Minutes
Round difficulty - Easy
The round was at 7.30 PM and I was asked to introduce myself and we had basic talk on where I live and my interests. I asked about the work culture and about the role at the end.
This was basically finding a maximum number of points in a line. I coded that but he wanted an improved solution. He told me to assume the positions of balloons in a matrix where 1 represents if the balloon is present and vice versa. Then I had to find which row or column or diagonal had the maximum number of 1’s. Later he asked me if I had some questions.
Tip 1 : Practice atleast 400 questions of leetcode topics wise.
Tip 2 : Participate in hackathons.
Tip 3 : Have 2 good projects atleast and be very good in project concepts.
Tip 1 : Have good projects in your resume and have clear idea of what you have done in those.
Tip 2 : Mention languages, frameworks, subjects only when you have proper hold on them, don't mention things you don't know properly.
Interview experience
Manager
6
salaries
| ₹12 L/yr - ₹15.1 L/yr |
Assistant Manager
4
salaries
| ₹5.6 L/yr - ₹8.3 L/yr |
Relationship Manager
4
salaries
| ₹3.5 L/yr - ₹4 L/yr |
Sales Manager
4
salaries
| ₹4 L/yr - ₹4.5 L/yr |
Senior Software Engineer
4
salaries
| ₹11 L/yr - ₹20 L/yr |
HDFC Life
ICICI Prudential Life Insurance
SBI Life Insurance Company
Max Life Insurance