Tip 1 : Prepare as per your skills like C, Java
Tip 2 : Focus on Projects and Algorithms
Tip 1 : Highlight your achievements and goals
Tip 2 : Highlight your skill set
- In Afternoon
- Environment was good.
- No
- Interviewer also good



1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
step 1 - We can use Array.sort() method to sort an Array as given below-
step 2 - Int Result [] = {15, 8, 10, 7}
step 3 - Arrays.sort(Result);
step 4 - System.out.printIn(Arrays.toString(Result));//[7, 8, 10, 15]



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]].
step 1- Check all the possible partitions of the array and take the one which gives the maximum profit
step 2- Possible partitions are as follows [- (4) + (3 + 2 + 3), - (4 + 3) + (2 + 3), - (4 + 3 + 2) + (3)]
step 3- The profits of these possible partitions are as follows [8 - 4, 5 - 7, 3 - 9] = [4, -2, -6] hence the answer is 4.
If a giraffe has two eyes, a monkey has two eyes, and an elephant has two eyes, how many eyes do we have?
A) 3 B) 4
C) 1 D) 2
Tip 1 : Practice puzzles online on any site
Note : Answer is B
he easiest way in which we can transfer control is when the old backup site sends __________ to the old primary.
a. Redo logs
b. Primary Logs
c. Undo Logs
d. All of the above
Tip 1 : Hands on DBMS concepts like Deadlock, Memory, ALU concepts
Note : Answer is b



Cost of entries where j < i will be represented as INT_MAX VALUE which is 10000 in the price matrix.
If ‘N’ = 3
'PRICE[3][3]' = {{0, 15, 80,},
{INF, 0, 40},
{INF, INF, 0}};
First, go from 1st station to 2nd at 15 costs, then go from 2nd to 3rd at 40. 15 + 40 = 55 is the total cost.It is cheaper than going directly from station 1 to station 3 as it would have cost 80.
The output will be 55.
step 1-
N = 5
M = 2
A = [ [1, 3, 5], [2, 5, 10] ]
step 2-
First, take the first train from city 1 and reach city 2 at a cost of 5.
Then take the second train from city 2 to city 5 at a cost of 10.
Thus the total cost to travel from city 1 to 5 is 5+10=15.
Hence, the answer is 15.
- Evening time
- Environment was good.
- No
- Interview was good
1> What do you know about our company’s product/services?
2> Describe the workplace where you’ll be most happy and productive.
3> Tell me about your experiences in life?
Tip 1 : Communication matters.
Tip 2 : Speak with thoughtful thoughts

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?