Tip 1: Think before solving. Instead of jumping directly to code, solve the problem on paper first to ensure you have a clear understanding of what it is asking.
Tip 2: Do not rush. Carefully read the problem statement and identify the key requirements and constraints.
Tip 3: Break down the problem into smaller, manageable parts and solve each part step by step.
Tip 1: Tailor your resume to the specific job you are applying for, highlighting relevant skills and experiences.
Tip 2: Keep it concise and focused; aim for one to two pages with clear, easy-to-read formatting.
Discussion/debate round among selected candidates to show the area of thinking.
Was given a topic to discuss on, explaining the pros and cons of it.
Tip 1: Research thoroughly and gather solid evidence to support your arguments.
Tip 2: Structure your arguments clearly, with a strong opening, well-developed points, and a concise conclusion.
Tip 3: Listen carefully to your opponent's points and be prepared to counter them with logical rebuttals.
Was interviewed with a senior developer of the company, They were on time and polite.
int i, j, k = 0;
for (i = n / 2; i <= n; i++) {
for (j = 2; j <= n; j = j * 2) {
k = k + n / 2;
}
}
O(nLogn)



Given an array of prices where prices[i] represent the price of a stock on a day, find the maximum profit you can achieve by buying on one day and selling on a later day.
Step 1: Brute Force Approach
- I started with a brute-force method using two nested loops to check every possible buy-sell pair.
- Problem: It was too slow, so the interviewer asked for an optimization.
Step 2: Optimized Single Pass
- I used a single-pass approach:
- Kept track of the minimum price so far, calculating the potential profit on each day.
- Updated the maximum profit accordingly.
- Result: This reduced the time complexity to O(n) and worked efficiently.
Step 3: Validation
- The interviewer was satisfied with this optimized solution.
Was asked to speak on myself for about 100 seconds, and we exchanged some arguments about feedback, interview experience and salary details
Tell me about yourself.
Tip: Provide a brief overview of your professional background, highlighting your skills, experiences, and why you are a good fit for the role.
Tip: Be honest about your strengths and provide examples. For weaknesses, mention something you are working on improving and steps you are taking to address it.
What are your strengths and weaknesses?
Tip: Provide a brief overview of your professional background, highlighting your skills, experiences, and why you are a good fit for the role.
Tip: Be honest about your strengths and provide examples. For weaknesses, mention something you are working on improving and steps you are taking to address it.

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