Tip 1: Be consistent in solving DSA questions daily (aim for 500 questions).
Tip 2: Try to solve a question before jumping to the solution.
Tip 3: To learn development, don’t just watch tutorials—create as many projects as you can.
Tip 1: Focus on creating good projects, avoiding clones or simple to-do list apps.
Tip 2: Participate in hackathons or contribute to open-source projects.
They first shortlist the students before giving the OA. Then there were 3 DSA questions. The camera and mic were on.



Using pointers, loop through the whole list and keep track of the node prior to the node containing the last occurrence key using a special pointer. After this just store the next of next of the special pointer, into to next of special pointer to remove the required node from the linked list.
Traverse the linked list, keep the last value and cope to the next node. Delete the last copied value



Given an array A[] consisting of only 0s, 1s, and 2s. The task is to sort the array, i.e., put all 0s first, then all 1s and all 2s in last.
A more efficient way to sort an array containing 0s, 1s, and 2s is to first count the occurrences of each value. Let's use variables count0, count1, and count2 to represent the number of 0s, 1s, and 2s, respectively.
First, you count how many 0s, 1s, and 2s are in the array. Then, you traverse the array a second time and fill it with count0 0s, followed by count1 1s, and finally count2 2s.



Given an array, the task is to cyclically rotate the array clockwise by one time.
To cyclically rotate an array, use two pointers: one at the start and one at the end. Swap the elements at these pointers and move the pointers towards each other until they meet.
One DSA question and two SQL queries



Given an undirected tree with n nodes and n−1 edges, where each node has an associated price, the task is to determine the maximum possible difference between the maximum and minimum path price sums for any root choice. The price sum of a path is the total of the prices of nodes on that path, and the goal is to maximize the incurred cost, defined as the difference between the maximum and minimum path price sums for all paths starting from the chosen root.
Was not able to solve this question.
What are SQL dialects? Give some examples.
Tip 1:Have a good knowledge of DBMS
Tip 2:Should a good knowledge of SQL
How to find the values in a text column of a table that start with a certain letter?
Tip 1: Should have good practice with SQL queries
Tip 2: Should cover every question of each format

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which keyword is used for inheritance?