Tip 1: Practice at least 2–3 easy to medium-level DSA questions daily.
Tip 2: Build 3–4 full-stack projects.
Tip 3: Study core subjects every weekend (DBMS, OOPs, Networking, etc.).
Tip 1: Make a one-page resume.
Tip 2: Only add skills that you actually know.
Duration: 2 hours
Time: It was held in the evening.
Format:
16 MCQ questions
1 DSA question (a dynamic programming problem of easy to medium difficulty)
1 SQL query



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.
As soon as I saw the problem, I realized it was a DP question, and I already knew the approach.
The idea is to fill the DP table from bottom to top. For each rod of length i, starting from i = 1 to i = n, find the maximum value that can be obtained by cutting it into two pieces of lengths j and (i - j).
There was one SQL query. Tables were given, and we had to solve it.
You are given a table of employee data. Each employee has an ID, name, salary, and an optional manager. Write an SQL query to find the names of employees who earn more than their respective managers.
The question was related to subqueries and joins.
Step 1: Understand the relationships
Each row represents an employee and contains a reference to their manager using manager_id.
To compare an employee's salary with their manager’s, we need two rows from the same table — one for the employee and one for the manager.
Step 2: Use a SELF JOIN
We join the Employees table to itself:
One alias represents the employee (E1)
The other represents the manager (E2)
Join condition: E1.manager_id = E2.emp_id
Step 3: Compare salaries
Condition: E1.salary > E2.salary
Step 4: Write the query
Select the names of employees who earn more than their manager.
It started with my introduction. When I mentioned my internship as a backend developer, he asked me to open a compiler and gave me a coding question related to trees. The interviewer was very friendly and made me feel comfortable.



You may assume that duplicates do not exist in the given traversals.
For the preorder sequence = [1, 2, 4, 7, 3] and the inorder sequence = [4, 2, 7, 1, 3], we get the following binary tree.

I solved the problem, but then he modified the question — for example, he asked me to add postorder traversal as well.
Approach:
Start with Preorder Traversal:
The first element in the preorder array is always the root of the tree (or subtree).
Find Root in Inorder:
Locate the root element (from preorder) in the inorder array. This divides the inorder array into:
Left part → Left Subtree
Right part → Right Subtree
Recursive Construction:
Recursively build the left subtree using the left part of the inorder array and the corresponding elements in the preorder array.
Recursively build the right subtree using the right part of the inorder array and the corresponding elements in the preorder array.
Use Indexing:
Maintain a global or reference index for preorder traversal (starting at 0).
Each time you pick an element from preorder, increment this index.
Optimize Inorder Lookup:
Use a hash map to store the index of each element in the inorder array for O(1) lookup.
Base Condition:
When start > end in the inorder range, return NULL.
You are given a table Student(id, name, age, grades). Write an SQL query to return only the name and grade of all students.
You are given a table Student(id, name, age, grades). Write a query to return the names of students who are 14 years old or older.
This was the Technical + Managerial round.
He seemed a bit strict, and I was also nervous.
He asked me many questions related to databases only.
Along with the approach to one array/list question.
What is normalization in DBMS? Explain its different normal forms (1NF, 2NF, 3NF) with brief examples. (Learn)
Start by defining Normalization: a process used to remove redundancy and ensure data integrity.
Explain the key differences between SQL and NoSQL databases. In which scenarios would you prefer one over the other? (Learn)
Define both:
SQL: Structured data, relational schema, supports JOINs (e.g., MySQL, PostgreSQL).
NoSQL: Unstructured or semi-structured data, schema-less (e.g., MongoDB, Cassandra).
Use cases:
SQL: Banking systems, ERP applications.
NoSQL: Real-time analytics, social media platforms, IoT applications.



Ignore negative numbers and zeros.
Try to place each number at its correct index (value x at index x - 1) using in-place swaps.
After rearranging, iterate through the array:
The first index where arr[i] != i + 1 gives the answer as i + 1.
If all positions are correct, return n + 1.
The problem is solved in O(n) time and O(1) space.
The HR round mainly focused on my location, work hours, and she explained everything about my role and the company.
She also asked about my location preference.
The HR round was quite smooth — it was more of an informative session where the HR explained the company, team structure, and role expectations. I believe my confidence, clear communication, and genuine interest in the role helped me stand out as a good fit for the team.
Tip 1: Be confident.

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