Tip 1 : Practice daily question of DS algorithms
Tip 2 : Prepare all your projects
Tip 3 : Daily practice of aptitude
Tip 1 : Resume should contain facts
Tip 2 : Add good projects and add github link to it also
English MCQs
Quant + Aptitude Mcqs
Coding round (60 minutes)






The output contains the following two lines:
The first line contains "Yes" (without quotes) if it is possible to collect both the mines or "No" (without quotes) if you are unable to pick both the mines.
The second line contains the minimum time required to pick both the gold mines.
In the case of "No", do not print the second line.
Constraints
1<=t<=100
2<=n<=100
In the first test case, player 1 will move from (3,2)->(1,1) and the second player will move from (3,4)->(1,4).
In the second test case, player 1 will move from (3,4)->(2,4)->(1,4) and the second player don't move.



Input: ‘arr’ = [1, 1, 2] and ‘k’ = 2
Output: 2
Explanation: If we want to make two subarrays, there are two possibilities: [[1], [1, 2]] and [[1, 1], [2]]. We can see that the maximum sum of any subarray is minimized in the second case. Hence, the answer is 2, which is the maximum sum of any subarray in [[1, 1], [2]].



A palindrome is a word, number, phrase, or other sequences of characters which read the same backwards and forwards.
If the input string happens to be, "malayalam" then as we see that this word can be read the same as forward and backwards, it is said to be a valid palindrome.
The expected output for this example will print, 'true'.
Our approach will be that we will first convert the string to lowercase. Then, we will take two pointers i pointing to the start of the string and j pointing to the end of the string. Keep incrementing i and decrementing j while i < j and at every step check whether the characters at these pointers are same or not. If not then the string is not a palindrome else it is.



For the given string “what we think we become”
“what”,” think”, and “become” occurs 1 time, and “we” occurs 2 times in the given string.
To count the occurrence of a particular character in a string, the below steps are followed:
1.Start with a string and a particular character whose occurrence shall be counted.
2.Start a loop from 0 to the length of the string.
3.Compare if a particular character of the string equals to the character that is being searched.
4.If the result is true, then increment the value of the counter.
Explain your projects and its relevance.
Where do you see yourself in the next 5 years?
What do you expect working in a company like TCS?
How do you like to spend your free time and what are your hobbies?

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: