Tip 1 : Practice at least 2 questions per day
Tip 2 : Do prepare your projects because mainly they ask about projects only
Tip 1 : Only mention those skills for which you are sure
Tip 2 : Projects should be clear and the resume should simple and clear



Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]
Output: 11
Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].


If “str1” = “abcjklp” and “str2” = “acjkp” then the output will be 3.
Explanation : The longest common substring is “cjk” which is of length 3.
This round was face to face



Given a string of N length consisting of only lower case latin characters, Find lexicographically smallest subsequence of length exactly equal to X of this string.
Constraints:
1 <= N <= 1000000
1 <= X <= N.
‘a’ <= s[i] <= ‘z’
Sample input:
N = 7, X = 5
String = “tourist”
Sample Output : orist
Among all other subsequence of length x=5, this “orist” subsequence is the smallest
of them all.
Solved Using Stack - O(N) Time



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
This was also face to face round




Marked Nodes are Circled with red colour.
Now consider this example of the graph. Here nodes 1,2, and 4 are marked, and let us take the value of K as 3, i.e., we have to find all the nodes at a distance less than 3 from all the marked nodes. We can see that nodes with index 5,9,8,2,0,7 have distances less than 3 from all marked nodes; therefore, the total count of nodes will be 6.
Given a complete binary tree in which each node is labelled as their number starting from 1 for root node, find the number of nodes in the tree.
Tree : 1
2 3
4 5
Constraints: 1<=N<=10^12
What are your strengths and weaknesses?
Explain your project.
What is the biggest threat to your career?

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?