Tip 1: Focus on strengthening your fundamentals in Data Structures, Algorithms, and core subjects before moving to advanced topics.
Tip 2: Practice coding regularly and make it a habit to clearly explain your approach while solving problems.
Tip 3: Learn from rejections and mock interviews by analyzing mistakes and working on your weak areas.
Tip 1: Highlight relevant projects and technical skills that showcase your problem-solving and coding abilities.
Tip 2: Keep your resume clear and concise, and be prepared to confidently explain every point mentioned in it.
Timing: Conducted during scheduled hours (not late at night), as part of the campus drive.
Environment: A smooth and moderately challenging online test environment with a mix of MCQs and coding questions.
Significant Activity: The focus was on solving coding problems within the given time, along with concept-based MCQs from core subjects.
Interviewer: There was no interviewer interaction in this round, as it was an online assessment.
A shopkeeper marks an item 20% above the cost price and gives a 10% discount. Find the profit percentage.
Use the CP–SP formula and calculate step by step.
What is the time complexity of searching for an element in an unsorted array?
Linear search: O(N)
In a singly linked list, how many pointers are required to insert a node at the beginning?
Only pointer update to head is required.
Which algorithm is best suited for searching an element in a sorted array with minimum time complexity?
Binary Search: O(log N).
Which normal form removes partial dependency in a relation?
2NF removes partial dependency.
What will be the result of an INNER JOIN between two tables when no matching records are found?
No rows returned.
Which of the following is NOT a condition for deadlock? (Options include Mutual Exclusion, Circular Wait, Preemption, and Hold & Wait.)
Preemption is not a deadlock condition (No Preemption is).
Which OOP concept allows the same function name to behave differently based on input parameters?
Polymorphism (function overloading/overriding).



Input: ‘N’ = 5, ‘TARGET’ = 5
‘BOOK’ = [4, 1, 2, 3, 1]
Output: YES
Explanation:
Sam can buy 4 pages book and 1 page book.
Use HashSet to track elements.
Time Complexity: O(N)



Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams.
'triangle' and 'integral'
'listen' and 'silent'
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct.
Use a frequency array or sort both strings and compare.
Time Complexity: O(N log N) or O(N)
Timing: Around 50 minutes, conducted during scheduled hours (not late at night).
Environment: Professional and slightly intense, focused on technical discussion and problem-solving.
Significant Activity: Mainly centered around Data Structures concepts and coding approaches; I was asked to explain logic, dry-run solutions, and discuss time and space complexity. Follow-up questions were based on optimization and edge cases.
Interviewer: Knowledgeable and detail-oriented; expected clear thinking, structured answers, and good communication. Occasionally provided hints to guide the solution.
What are the key differences between arrays and linked lists?
Mention about memory allocation, access time (O(1) vs O(N)), and insertion/deletion.
What is the difference between a normal queue and a priority queue?
FIFO vs priority-based removal (heap implementation).
What is hashing, and how does collision handling work?
Explain hash functions, collisions, and methods like chaining or open addressing.
How do you analyze the time complexity of an algorithm?
Focus on loops, recursion, and dominant terms (Big-O notation).



Input: 'list' = [1, 2, 3, 4], 'k' = 2
Output: 2 1 4 3
Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.
All the node values will be distinct.
Use iterative reversal with pointer manipulation for every group of k nodes.
Time Complexity: O(N)
Space Complexity: O(1)



1. The length of each array is greater than zero.
2. Both the arrays are sorted in non-decreasing order.
3. The output should be in the order of elements that occur in the original arrays.
4. If there is no intersection present then return an empty array.
Use HashSet to store elements of one array and check for common elements.
Time Complexity: O(N + M)
Space Complexity: O(N)

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the best case time complexity of Bubble Sort?