Tip 1: Strengthen your fundamentals in Data Structures, Algorithms, and core subjects before attempting advanced problems.
Tip 2: Practice explaining your approach clearly while solving coding problems, as communication plays a key role in technical interviews.
Tip 3: After every mock test or interview, analyse your mistakes carefully and work specifically on your weak areas.
Tip 1: Highlight strong technical skills and relevant coding projects that demonstrate your practical understanding of data structures and problem-solving.
Tip 2: Keep your resume clean and structured, and ensure you can confidently explain every project, tool, or technology mentioned during technical discussions.
Timing: Conducted during regular working hours via virtual mode (not late night).
Environment: Professional and slightly technical-focused; the discussion was structured and time-bound.
Significant Activity: Emphasis was on writing optimized code and explaining the logic clearly, along with follow-up questions based on approach and edge cases.
Interviewer: Technically strong and analytical; expected clear reasoning, depth in concepts, and confident communication throughout the discussion.
Tip 1: Mention the four Coffman conditions – Mutual Exclusion, Hold & Wait, No Preemption, Circular Wait. Give a simple real-life example.
Tip 2: Focus on memory sharing, creation overhead, and context switching.
Tip 3: Mention waiting time comparison and concept of starvation in SJF.
Three switches outside a room control three bulbs inside. You can enter the room only once. How will you identify which switch controls which bulb? (Learn)
Turn on first switch for some time, turn it off, turn on second switch, then enter room. Use heat + light to identify bulbs.
If you toss two coins, what is the probability of getting at least one head? (Learn)
Total outcomes = 4 (HH, HT, TH, TT). Favorable = 3 : Probability = 3/4.
What is indexing and why is it used? (Learn)
Improves query performance; explain using book index analogy.
Write a query to find the second highest salary from an Employee table. (Practice)
Use ORDER BY salary DESC LIMIT 1 OFFSET 1 (or subquery with MAX).



Use the Sliding Window + HashSet/HashMap technique to track characters in the current window and adjust pointers when duplicates appear.
Time Complexity: O(N)
Space Complexity: O(N)



In the given linked list, there is a cycle, hence we return true.

Use Floyd’s Cycle Detection Algorithm (Tortoise and Hare method) with two pointers moving at different speeds.
Time Complexity: O(N)
Space Complexity: O(1)
Timing: Conducted during regular daytime hours on campus (not late night).
Environment: Formal and slightly intense as it was face-to-face; overall well-organized and professional setup in the college campus.
Significant Activity: Focused more on in-depth technical discussion and real-time problem solving on paper/whiteboard, with cross-questioning based on answers.
Interviewer: Technically strong and detail-oriented; expected clear explanations, strong fundamentals, and confidence while answering.
What is Virtual Memory? (Learn)
Explain how virtual memory allows execution of large programs using disk space and mention paging.
What is Normalization and why is it important? (Learn)
Explain removal of redundancy and improving data integrity (1NF, 2NF, 3NF briefly).
What is Abstraction? (Learn)
Hiding implementation details and showing only essential features (example: abstract class/interface).



‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’.
‘ARR1’ = [3 4 6 9 10]
Use the two-pointer technique to compare elements from both arrays and insert the smaller one into the result array.
Time Complexity: O(N + M)
Space Complexity: O(N + M)



'N' = 4,
4 can be represented as 2^2. So, 4 is the power of two, and hence true is our answer.
Use the bit manipulation trick:
If N > 0 and (N & (N - 1)) == 0, then N is a power of 2.
Time Complexity: O(1)
Space Complexity: O(1)

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?