Tip 1 : Be prepared with whatever mentioned in your Resume
Tip 2 : Be prepared with your Projects
Tip 1 : Describe the Technologies, on which you have worked
Tip 2 : Provide Leetcode or other Platform links
There were 2 Questions which are of medium Level



N = 5
S = ‘GEEK’
ANSWER:- The answer should be [(‘E’,2)] because ‘E’ is the only character that is duplicated and has frequency 2.
I had solved this question using stack




This Question is pretty easy if guess the logic, one line greedy Approach
2 DSA Questions were asked after basic Introduction



‘N’ = 4, ‘S’ = “code”
Character ‘c’ gets changed to ‘b’.
Character ‘o’ gets changed to ‘p’.
Character ‘d’ gets changed to ‘c’.
Character ‘e’ gets changed to ‘f’.
Encoded string = “bpcf”



Input: 'a' = [2, 4, 6] and 'b' = [1, 3, 5]
Output: 3.5
Explanation: The array after merging 'a' and 'b' will be { 1, 2, 3, 4, 5, 6 }. Here two medians are 3 and 4. So the median will be the average of 3 and 4, which is 3.5.
I had given simple sorting solution and also given binary search optimized Approach
2 Coding Problems were asked in this round



An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.
{ “abc”, “ged”, “dge”, “bac” }
In the above example the array should be divided into 2 groups. The first group consists of { “abc”, “bac” } and the second group consists of { “ged”, “dge” }.
This Question is tough, I easily solved this Question using Hashmap and sorting Approach



If the given string is:
abcadeecfb
Then after deleting all duplicate occurrences, the string looks like this:
abcdef
2 Medium level Coding Questions were asked



Here subset sum means sum of all elements of a subset of 'nums'. A subset of 'nums' is an array formed by removing some (possibly zero or all) elements of 'nums'.
Input: 'nums' = [1,2]
Output: 0 1 2 3
Explanation:
Following are the subset sums:
0 (by considering empty subset)
1
2
1+2 = 3
So, subset sum are [0,1,2,3].



Let the given string be “(()())((”.
Here the valid parentheses substrings are: “()”, “()” and “(()())”. Out of these the longest valid string is “(()())” which has a length 6.
I told him 2 Approaches 1 is using Stack and other is using simple loops to calculate window size.
One Easy Coding question, some behavioural Questions and deep discussion about previous company Projects was happened.
Who is your role model?
What are your plans?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?