Tip 1: Practice DSA consistently instead of doing it only before interviews.
Tip 2: Build at least 2–3 real projects and understand every line of your code.
Tip 3: Revise fundamentals and learn to explain concepts clearly.
Tip 1: Mention only those skills and projects that you can confidently explain.
Tip 2: Keep projects practical and showcase real learning instead of just certificates.
Tip 3: Keep your resume simple, clean, and limited to one page.
The test was conducted online and scheduled during the daytime. The environment was calm since it was taken from home. The instructions were clearly provided before the test began. The round consisted of both MCQs and coding questions. Time management was important because switching between sections required careful planning. Overall, the experience was similar to other online assessments and tested both conceptual understanding and problem-solving skills.


Step 1: I first considered using a brute-force approach, where I checked every subarray to verify whether all elements were unique. This worked logically but was inefficient for larger inputs.
Step 2: I realized that I could optimize the solution using a sliding window technique along with a set to track unique elements.
Step 3: I used two pointers, expanding the window when elements were unique and shrinking it when duplicates were found. This significantly reduced the time complexity.
Step 4: After implementing this approach, I tested it with multiple inputs and edge cases, and the solution worked efficiently. The interviewer was satisfied with the optimized approach.



String 'S' is NOT case sensitive.
Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Step 1: I first thought of reversing the string and comparing it with the original string. However, I realized that special characters and uppercase letters needed to be handled.
Step 2: I cleaned the string by removing all non-alphanumeric characters and converting it to lowercase.
Step 3: Then I used a two-pointer approach, with one pointer at the start and one at the end, and compared characters while moving inward.
Step 4: This approach worked efficiently and reduced extra space usage. I tested it with different inputs, and the solution handled all cases correctly.
The test was conducted online and scheduled during the daytime. The environment was calm since it was taken from home. The instructions were clearly provided before the test began. The round consisted of both MCQs and coding questions. Time management was important because switching between sections required careful planning. Overall, the experience was similar to other online assessments and tested both conceptual understanding and problem-solving skills.



You must write an algorithm whose time complexity is O(LogN)
Step 1: I initially explained a simple linear search approach, where we traverse the array and compare each element with the target.
Step 2: The interviewer asked if I could optimize the solution since the array was already sorted.
Step 3: I then used the binary search approach and explained how dividing the search space into halves reduces the time complexity to O(log n).
Step 4: I wrote the code and dry-ran it on a few examples to confirm correctness, after which the interviewer was satisfied.

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