Tip 1 : Do consistent practice of DSA problems every day may be at least 1-2 problems
Tip 2 : Have a good understanding of OOPs concepts
Tip 3 : Do. learn basic of system design
Tip 1 : Mention your strong areas clearly.
Tip 2 : Write in a crisp manner about your previous project and internship( if any)



str = "ababc"
The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome.
There is another palindromic substring of length 3 is "bab". Since starting index of "aba" is less than "bab", so "aba" is the answer.
step 1 : check for all the substrings which a palindrome and returns the one with the maximum size.
step 2 : applied the DP Approach to solve the problem and got accepted.
Define Thread and process and its difference.
Tip 1 : Answer the above question and also gave some real-life examples.



1. The sizes will range from 1 to ‘N’ and will be integers.
2. The sum of the pieces cut should be equal to ‘N’.
3. Consider 1-based indexing.
1. I solved it using the naive method, but the time complexity is exponential so the interview told me to think of another approach and give hint to think of the DP approach.
2. I mapped the problem statement with the cutting rod problem which I solved earlier and was able to write the do the code.



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
This was an easy question but we have to do this in O(n) time complexity+ O(1) space complexity.
I did it in place reversing using two-pointers.
Basic Behavioural questions are asked.
1. Tell me about yourself.
2. what you will do if your senior is not giving you credit for your work.
3. past experiences.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?