Tip 1 : Practice DP based questions as much as you can. Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and Geeks For Geeks.
Tip 2 : Try to give each and every question there on leetcode and try to upsolve them as well.
Tip 3 : quality matters but quantity also matters, so try to solve as many questions as you can.
Tip 1 : you should have at least 2 projects done completely by yourself so that you can handle any query asked by interviewer.
Tip 2 : try to mention all your achievements related to competitive programming.
Keep it short. Mention the academic and professional projects you've done. Add your educational details properly with percentage or CGPA obtained.
It was a coderpad round of which link is shared.2 problems were given to me .One was of trapping snow in mountains which is similar to trapping rain water.2nd question was run length encoding.Interview timings were 4 pm.Interviewer was very polite and helpful.
The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:
You don't need to print anything. It has already been taken care of. Just implement the given function.
S= “https://youtu.be/dQw4w9WgXcQ”, can be encoded to TinyUrl “http://tinyurl.com/abcdef”, then in future queries “http://tinyurl.com/abcdef” can be decoded into “https://youtu.be/dQw4w9WgXcQ”
The URL given to you for decoding will always be one of the URLs you have already returned after encoding in the past.
The encoded URL should strictly be of the format “http://tinyurl.com/abcdef”, where instead of “abcdef” you can have any alphanumeric code of length 6.
one DSA question was asked.Few theory questions were also asked related to java.Questions were regarding immutability(how to create custom immutable class),oops concepts,singleton design pattern,comparator ,comparable
If the given array is: [1 3 1 4]. The longest mountain subarray would be 3. This is because the longest mountain is [1 3 1] having length 3.
This round was of 1 hour,2 dsa questions were asked,there were total 3 interviewers.
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 name of the file should be greater than or equal to the string ‘A’.
The name of the file should be less than or equal to string ‘B’.
The name of the file should not contain the virus string as a substring ‘C’.
Since the answer can be very large, print answer % (10^9 + 7).
If N=2 and string ‘A’ = “bc” and string ‘B’ = “bm” and virus string ‘C’ = ”g”.So the files that are not affected are “bc”, “bd”, “be”, “bf”, “bh”, “bi”, “bj”, “bk”, “bl”.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is 3 + 2 * 4 based on operator precedence?