Filter interviews by
I was interviewed in Aug 2021.
Round duration - 75 minutes
Round difficulty - Easy
2 coding problems were asked
Candidates who solved both the questions in the first 45 mins get shortlisted. 12 candidates including me got shortlisted.
Given two strings STR1
and STR2
, determine the length of their longest common subsequence.
A subsequence is a sequence that can be derived from another sequen...
The basic idea of this approach is to break the original problem into sub-problems. Let us assume we want to find the length of the longest common subsequence of “STR1” and “STR2” whose length is ‘N’ and ‘M’ respectively.
Now, let us define a recursive function
LCS(Int I, int J, string STR1, string STR2)
Which returns the length of the longest common subsequence of string STR1...
Given a graph with N
nodes and a threshold value THRESHOLDVALUE
, two distinct nodes X
and Y
are directly connected if there exists a Z
such that:
X % Z == 0
Y % Z == 0
Z ...
We will iterate over all the possible pairs of nodes and check if they are directly connected. We will build the graph and using a breadth-first search we can find all the connected components. If two nodes in the query are part of the same component insert ‘1’ otherwise ‘0’ in the vector/list ‘ans’.
We will apply the algorithm as follows:-
Round duration - 60 minutes
Round difficulty - Easy
Round 2 : HR + Technical Round Time -60 Mins
Firstly we greet each other and then we have talked about my projects and stuff. After that, he gave me some technical questions and I have to choose any three of them and write the code for them. I finished with all the three questions in about 15-20 min since i have solved similar questions while practicing.
What are the various formatting tags in HTML?
What is Pattern Matching in SQL?
After solving those questions we have discussed about our city since i and the interviewer both are from the same city, after that we were finished the interview.
After a very stressful night, the Next day results were declared and 7 out of 12 candidates including me got selected for the internship.
Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, f...
We will use Breadth-First Search to find the shortest path from cellNumber 1 to cellNumber N*N.
You are given an array of strings ARR
. The task is to find out the second most frequently repeated word in the array. It is guaranteed that each string in the a...
Iterate through the array and store the frequency of each string in the array. Find out the maximum frequency word which occurs in the array and print the word which has the maximum frequency but has less frequency than the maximum one.
Algorithm:-
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...
Imagine you have a special keyboard with four keys:
Approach: We can observe that if ‘n’ < 7, the output is ‘n’ itself. Otherwise, if ‘n’ is greater than or equal to 7, then the optimal sequence of operations will end with a suffix of one Ctrl-A, one Ctrl-C, followed by one or several Ctrl-V’s.
If F(n) given the maximum number of ‘A’s that can be printed by ‘n’ keystrokes and ‘x’ represent the number of Ctrl-V’s at the end, then recurrence relatio...
Tip 1 : Do at least 4-6 questions daily on leetcode, codingninjas, geeksforgeeks or interviewbit wherever it suits you.
Tip 2 : Do at least 1 good project or an internship in a start up before the internship season
Tip 3 : Focus on Competitive programming also it increases our problem-solving ability exponentially.
Tip 1 : Make a decent resume with a good project or an intern.
Tip 2 : Never fake any point in the resume it will not gonna benefit you .
Top trending discussions
I applied via Walk-in and was interviewed in Nov 2023. There were 3 interview rounds.
3 coding Questions from String Array and Matrix
30 question from English and 30 from reasoning
I applied via Job Portal and was interviewed in Dec 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Nov 2023. There were 3 interview rounds.
3 coding Questions from String Array and Matrix
30 question from English and 30 from reasoning
Senior Software Engineer
623
salaries
| ₹14.5 L/yr - ₹44 L/yr |
Software Engineer
186
salaries
| ₹9.2 L/yr - ₹34.6 L/yr |
Staff Software Engineer
147
salaries
| ₹20 L/yr - ₹59.8 L/yr |
Senior Software Test Engineer
89
salaries
| ₹18 L/yr - ₹41.2 L/yr |
Senior Data Engineer
88
salaries
| ₹22.5 L/yr - ₹42 L/yr |
MasterCard
American Express
PayPal
State Bank of India