Tip 1 : Do Leetcode/Code studio/gfg (at least 350 questions)
Tip 2 : Prepare your resume well and composed
Tip 3 : Practice your aptitude and HR questions beforehand
Tip 1 : Shouldn't exceed 2 pages
Tip 2 : Make sure that you don't include too many certifications or skills
30 mcq and 3 coding questions were asked. The exam was online at 6 pm in the evening.



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.
We will do a binary search in one of the arrays which have a minimum size among the two.
Firstly, calculate the median position with (n+1)/2. Point two-pointer, say low and high, equal to 0 and size of the array on which we are applying binary search respectively. Find the partition of the array. Check if the left half has a total number of elements equal to the median position. If not, get the remaining elements from the second array. Now, check if partitioning is valid. This is only when l1<=r2 and l2<=r1. If valid, return max(l1,l2)(when odd number of elements present) else return (max(l1,l2)+min(r1,r2))/2.
If partitioning is not valid, move ranges. When l1>r2, move left and perform the above operations again. When l2>r2, move right and perform the above operations.



The input string may contain the same characters, so there will also be the same permutations.
The order of permutations doesn’t matter.
It was taken by a Senior Technical Lead, which was a live coding round and some cross-questioning on the same.
Brief Introduction about me and my skills.
Basic React principles.
Live coding round
Implement the bootstrap Tab component (responsive) with 3 or more tabs




Let’s say you have a grid [[1,0],[1,1]]. We can say the computer ‘ARR[0][0]’ is a connected computer because there is a computer in its column other than itself. We can say the computer ‘arr[1][0]’ is a connected computer because there is a computer in its row and column other than itself. We can say the computer ‘arr[1][1]’ is a connected computer because there is a computer in its row other than itself. Therefore the number of connected computers is 3.
Figure out the number of connected components in the graph using UF.
Total pairs for n nodes = (n* (n-1)/2);
Figure out total unreachable nodes by subtracting total nodes - reachable/connected nodes.
A discussion about my last employment.
Tech stack that I was implementing there.
Discussion about projects mentioned in my resume and cross-questioning on the same.
Discussion about work that I’ll be doing in the company if selected.



insert(word) - To insert a string "word" in Trie
search(word) - To check if string "word" is present in Trie or not.
startsWith(word) - To check if there is any string in the Trie that starts with the given prefix string "word".
Type 1: To insert a string "word" in Trie.
1 word
Type 2: To check if the string "word" is present in Trie or not.
2 word
Type 3: To check if there is any string in the Trie that starts with the given prefix string "word".
3 word



getSize: Returns an integer. Gets the current size of the stack
isEmpty: Returns a boolean. Gets whether the stack is empty
push: Returns nothing. Accepts an integer. Puts that integer at the top of the stack
pop: Returns nothing. Removes the top element of the stack. It does nothing if the stack is empty.
getTop: Returns an integer. Gets the top element of the stack. Returns -1 if the stack is empty

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: