Tip 1: Build strong fundamentals in Data Structures, Algorithms, and core subjects like DBMS and Operating Systems.
Tip 2: Practice coding problems regularly and focus on explaining your approach clearly during interviews.
Tip 1: Keep your resume concise and highlight relevant projects, programming languages, and technical skills related to the role.
Tip 2: Ensure you thoroughly understand everything mentioned on your resume, as interviewers may ask detailed questions about your projects and technologies.
Timing: Conducted online during scheduled hours (not late at night).
Environment: A smooth and moderately challenging online assessment environment with a mix of MCQs and coding questions.
Significant Activity: The focus was on solving coding problems within the time limit, along with a few concept-based MCQs on core subjects.
Interviewer: There was no interviewer interaction in this round, as it was an automated online test.


1. All the processes will have different arrival times.
2. In the FCFS scheduling algorithm, processes that come first ( i.e have lesser arrival time) will be executed first.
3. Turn around time of a Process is the time difference between arrival time and the time at which the process completed.
4. The waiting time of a process is the total time, the process is waiting, i.e. difference between turnaround time and burst time.
5. Completion time is the time at which a process completes.
Let there be 4 Processes with the following arrival time and burst time.

Wait time, turnaround, and completion time for each process are:

Arrange the processes by arrival time and compute the waiting time using cumulative burst times.
What is deadlock prevention, and how is it implemented in operating systems? (Learn)
Prevention eliminates at least one Coffman condition, while avoidance uses algorithms like the Banker’s Algorithm.
Write an SQL query to find the second-highest salary from the Employee table. (Practice)
Use a subquery or ORDER BY salary DESC LIMIT 1 OFFSET 1.
Transactions in DBMS and ACID properties.
Atomicity, Consistency, Isolation, Durability ensure reliable database transactions.
What is the primary purpose of a load balancer in a distributed system?
A load balancer improves availability, reliability, and scalability by distributing requests across multiple servers.
Which technique is commonly used to improve database scalability by distributing data across multiple machines?
Sharding splits a large database into smaller parts (shards) that are stored across different servers to handle large-scale data and traffic.



If more than one such pair of indices exist, return the lexicographically smallest pair
You may not use the same element twice.
Use a HashMap to store visited elements and check target − current.



If there are any duplicates in the given array we will count only one of them in the consecutive sequence.
For the given 'ARR' [9,5,4,9,10,10,6].
Output = 3
The longest consecutive sequence is [4,5,6].
Can you solve this in O(N) time and O(N) space complexity?
Use a HashSet and start counting only when the previous element does not exist.
Time Complexity: O(N)
Timing: Conducted via a scheduled video call during normal working hours (not late at night).
Environment: Professional and focused, with an emphasis on solving problems and clearly explaining the approach.
Significant Activity: The interviewer asked DSA-related problems and expected the candidate to explain the logic, discuss time and space complexity, and consider edge cases.
Interviewer: Friendly but analytical; encouraged step-by-step thinking and occasionally provided hints to guide toward the correct approach.
What is the time complexity of searching for an element in a balanced Binary Search Tree (BST)?
Average case O(log N).
What is the time complexity of accessing an element in an array using its index?
O(1) (constant time).
What is the average time complexity of insertion and lookup in a HashMap/Hash Table?
O(1) on average.



Consider ARR = [1, 2, 3, 4, 4], the duplicate integer value present in the array is 4. Hence, the answer is 4 in this case.
A duplicate number is always present in the given array.
Use a HashSet or Floyd’s Cycle Detection for an optimized solution.



Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]
Output: 11
Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Use Kadane’s Algorithm to track the maximum sum while iterating.
You have a 5-litre jug and a 3-litre jug. Measure exactly 4 litres of water.
Fill 5L → pour into 3L → remaining 2L → empty 3L → transfer 2L → fill 5L → pour into 3L → remaining 4L.
Three switches outside control three bulbs inside a room. You can enter the room only once. Identify which switch controls which bulb.
Turn one switch on for a while, then turn it off. Turn another switch on, then enter the room and use heat and light to identify the bulbs.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which data structure is used to implement a DFS?