Tip 1: Always be consistent while doing DSA
Tip 2: Try giving contests
Tip 3: Build some cool projects.
Tip 1: Never lie on your resume.
Tip 2: Build cool projects to make your resume stand out from others.
I found the Operating Systems questions a bit tough since they also had questions based on the command line, but I did attempt most of the questions correctly within the time limit.
My interviewer asked me to share my screen, and the interview started with a medium-level DP question. I took 1–2 minutes to think about the edge cases and constraints and clarify with my interviewer. After that, I derived a brute-force approach for the question while sharing my thoughts constantly with the interviewer and taking his affirmation as I proceeded. My interviewer helped me point out an edge case I was missing. I derived the best approach possible from brute force, after which he asked me to code. I explained my code as I wrote it on the document they provided.



Input: ‘S’ =’badam’
Output: ‘ada’
‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.



class graphNode
{
public:
int data;
vector<graphNode*> neighbours;
}
1. Nodes are numbered from 1 to N.
2. Your solution will run on multiple test cases. If you are using global variables make sure to clear them.

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?