Tip 1 : Be thorough with data structures and algorithms. Avoid just switching between different coding platforms according to people's suggestion instead pick one and stick to it(Leetcode worked for me!).
Tip 2 : Do not miss out on core subjects (for GS ,OOPs and Operating systems especially).
Tip 3 : Keep giving mock interviews (take at least 2 -3 prior to real one) ,it helps a lot to prevent last-minute interview anxieties and makes you feel prepared and confident.
Tip 1 : Choose the right format, it should reflect professionalism. Adobe blog suggests arranging your resume with your educational information at the top, followed by your grade-point average, professional experience, projects and any special interests and activities or achievements.
Tip 2 : If you do not have any prior experience, solidify your projects section(3-4 is a good number).Articulate your project description in a precise and crisp format.
Tip 3 : Come up with three reasons why you should be picked for the job in accordance with job's description —these will be some of the top traits you’ll want to emphasize in your resume.
One coding problem was there which was of 3 hrs and 50 test cases were there. We need to pass all the test cases



We can solve this problem using dynamic programming.
First, consider a sub-array from indices Left to Right(inclusive).
If we assume the balloon at index Last to be the last balloon to be burst in this sub-array, we would say the coined gained to be-A[left-1]*A[last]*A[right+1].
Also, the total Coin Gained would be this value, plus dp[left][last – 1] + dp[last + 1][right], where dp[i][j] means maximum coin gained for sub-array with indices i, j.
Therefore, for each value of Left and Right, we need find and choose a value of Last with maximum coin gained, and update the dp array.
Our Answer is the value at dp[1][N].
Three coding problems were asked



1. X and Y should be greater than 0.
2. (X, Y) and (Y, X) are considered different solutions if X is not equal to Y, i.e. (X, Y) and (Y, X) will not be distinct if X=Y.
I solved using bit manipulation techniques



For the given binary tree

The level order traversal will be {1,2,3,4,5,6,7}.
Solve using recursion



It is simple matrix problem



Given a string ‘str’ and a string ‘pat’. The string s has some wildcard characters i.e ‘?’ and ‘*’.If any character is a ‘?’ we can replace that character with any other character. If a character is a * we can replace * with any sequence of characters including the empty sequence. Your task is to determine if it is possible that we can make ‘str' = 'pat’ using appropriate conversions in ‘str’.For Example:Let str = “abc?" and pat= “abcd”We return true as ‘?’ can be replaced with ‘d’ and this makes ‘str’ and ‘pat’ same.Input Format:The first line of input contains an integer ‘T’ which contains the number of test cases. The next '2 * T' lines represent the 'T' test cases.The first line of each test case contains the string ‘str’.The second line of each test case contains the string ‘pat’.Output Format:For each test case return true if it is possible to modify string ‘str’ such that ‘pat’ is a substring of ‘s’ under given rules and conditions. Otherwise, return false.Note:You do not need to print anything; it has already been taken care of, Just implement the given function.The words do not contain whitespace.The string ‘pat’ contains only lowercase English alphabets.Constraints:1 <= T <= 101 <= pat.length() <= 2001 <= str.length() <= 200Time Limit: 1secFollow Up:Try to do this problem in O(M * N).
I solved using Kadane's algorithm
There are 2 trees in a garden (tree "A" and "B") and on both trees are some birds.
The birds of tree A say to the birds of tree B that if one of you comes to our tree, then our population will be the double of yours.
Then the birds of tree B tell to the birds of tree A that if one of you comes here, then our population will be equal to that of yours. How many birds in each tree?
There are ‘N’ horses running in ‘N’ different lanes numbered from 1 to ‘N’. You are given an array “FINISHTIME” containing ‘N’ integers where “FINISHTIME[i]” represents the time taken by the ith horse to complete the race.
You are now given ‘Q’ queries, each containing two integers each, ‘L’ and ‘R’. For each query, return the time taken by the fastest horse amongst the horses with numbers {L, L + 1, L + 2, …., R - 1, R} to complete the race.
Note:
The fastest horse is the one that takes the minimum time to finish the race.



An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase. We can generalize this in string processing by saying that an anagram of a string is another string with the same quantity of each character in it, in any order.
{ “abc”, “ged”, “dge”, “bac” }
In the above example the array should be divided into 2 groups. The first group consists of { “abc”, “bac” } and the second group consists of { “ged”, “dge” }.
Simple Hashing problem

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?