Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more
There were 33 questions in total. The objective questions were simple.


If dates= [ [13,6,2007] , [2,6,2001] , [10,8,2019] , [1,6,2007] ]
Sorted Order of Dates will be :
dates = [ [ 2,6,2001] , [1,6,2007] , [13,6,2007] ]
Custom sorting can be used here. Extract the days, months and years as sub-strings from the string then compare two strings by years, if years for two dates are equal then compare their months. If months are also equal than the days will decide which date appears earlier in the calendar.
Time Complexity: O(N * log(N))
Auxiliary Space: O(1)



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
The problem can be solved in O(n) time using hashing.
Use a hashset to check for the current array value. Check if targetsum – current value exists in the map or not. If it exists, that means a pair with sum equal to target sum exists in the array.

The maximum sum may be obtained without dividing N also.
N = 12 breaking N into three parts will give 6, 4, and 3 which gives us the sum = 13. Further breaking 6, 4, and 3 into other parts will give us a sum less than or equal to 6, 4, and 3 respectively. Therefore, the maximum answer will be 13.
Recursion can be used here. In each call, check only max((max(n/2) + max(n/3) + max(n/4)), n) and return it. Because either we can get maximum sum by breaking number in parts or number is itself maximum.
The efficient solution would be to use Dynamic programming because while breaking the number in parts recursively we have to perform some overlapping problems. Store values in an array and if for any number in recursive calls we have already solution for that number currently so we directly extract it from array.
Pseudocode :
breakSum(n)
{
int dp[n+1]; //create an array of size n+1
// base conditions
dp[0] = 0, dp[1] = 1;
// Fill in bottom-up manner using recursive formula.
for (i=2 to i=n) do :
dp[i] = max(dp[i/2] + dp[i/3] + dp[i/4], i);
return dp[n];
}

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?