Tip 1 : Keep a good hold on basics of Arrays and Strings and basic knowledge of every data structure like Linked list, Stack, Queue, Binary Tree, Binary Search Tree and Graph.
Tip 2 : Practice Questions of Famous Data Structures like Arrays, Strings, Linked list, Binary tree and BST as much as you can!
Tip 3 : Be Confident and keep a smile on your face throughout the interview.
Tip 1 : Prepare your projects thoroughly!
Tip 2 : Don't put so many things in your resume, which you don't even know about.
Round consists of 4 sections,
Section 1 consists of Mcq's related to OOPS.
Section 2 consists of Mcq's related to JavaScript.
Section 3 consists of Mcq's related to SQL.
Section 4 consists of 2 coding Questions out of which one was moderate difficulty and other was of Hard difficulty.



The solution is quite simple if the height of wall is less than or equal to x, only one jump in that wall is required else we can calculate it by height of wall-(climb up-climb down) and get the jumps required.



If there are more than one substring with the shortest length, then find one which appears earlier in the string ‘S’ i.e. substring whose starting index is lowest.
If the given string ‘S’ = "abcba", then the possible substrings having all the characters of ‘S’ at least once and of minimum length are "abc" and "cba".
As "abc" starts with a lower index (i.e. 0, "cba" starts with index 2), we will return the string "abc" as our shortest substring that contains all characters of 'S'.
I stored all the characters from string S to an unordered_map mp.
I took 3 variables, ans(to store the size of the minimum substring), start(to store the start index) & count(to store the map size, if it became 0 that means we got a substring)
Now taking 2 pointers i & j, I iterated using j & decremented the element count in map.
if at any point the value became 0 that means we got all the elements of that char till now, so we’ll decrement the size of the count.
In this way, we will decrement and once the count will be 0 if there is a substring with all the elements present.
Now we’ll increment i and check if there is possible to remove any more characters and get smaller substrings.
We’ll store the smaller length to ans & store the ith index in the start variable. Also, we’ll add the element to our map and increment the count variable if it became greater than 0.
Now if the ans have some length except int_max, then return the substring from start index to length of ans. Else return empty string.
Time complexity: O(m), where m is the length of string S.
This was basically a Case Study Round, Three questions were given to us out of which we have to do any two.
One question was of Algorithms, second was of Data structures and the third was of DBMS.
We didn't had to write the whole code, just pseudo code works too.
This was an non elimination round.



Create auxiliary horizontal and vertical arrays first
Then starting from bottom right for every i, j ; we find small=min (ver[i][j], hor[i][j]) (marked in orange) , then look at all distances in [1,small] vertically in hor array and horizontally in ver array. If values(shown in blue) are greater than small and if small is greater than curr result, then we update result.
Design a sales Data base System.
Tip 1 : Basically create an entity relationship diagram.
Tip 2 : Try to be as accurate as you can.
Tip 3 : If you know you're not sure of anything, just mention it on the page where you were drawing ER diagram.
It was a technical + case study discussion round, Interviewer was very friendly and supportive,
Basically I was asked about the OOPS concept, then I was given a problem related to data structures which I solved using map, then interviewer had a discussion on the case study round and told me to explain the code which I wrote in case study round, also told me to explain the ER diagram and at last he asked me an SQL query related to join and group by.



1. The sub-array of an array is a continuous part of the array.
2. Consider ‘0’ based indexing.
3. ‘k’ will always be less than or equal to ‘n’.
3. Don’t print anything, just return the integer array ‘count’.
I solved this problem using unordered_map, where I mapped each string with the freq of it and later I traversed in the map and printing all those strings whose frequency == 1

Total_salary = Basic + HRA + DA + Allow – PF
HRA = 20% of basic
DA = 50% of basic
Allow = 1700 if grade = ‘A’
Allow = 1500 if grade = ‘B’
Allow = 1300 if grade = ‘C' or any other character
PF = 11% of basic.
To round off the value, please include<cmath> library at the start of the program and round off the values in this way.
int ans = round(yourFinalValue);
Tip 1 : Use Join to join two tables.
Tip 2 : Use group by clause to group the data on department name
I was told to explain my projects which were written in resume, Interviewer was very friendly and supportive, few questions on data structures, then basic HR questions were asked.
1. Tell me about yourself.
2. What are your greatest strengths and weaknesses?
3. What is your biggest achievement so far?
Tip 1 : Be confident while answering.
Tip 2 : Name only that data structure in which you are confident enough to solve any problem.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL clause is used to specify the conditions in a query?