Tip 1: Practice DSA regularly and focus on understanding concepts instead of just memorizing solutions.
Tip 2: Revise core subjects like OOPs, DBMS, and OS as they are frequently asked in interviews.
Tip 1:Keep your resume concise (1 page) and highlight relevant projects, skills, and achievements clearly.
Tip 2:Be honest and only include skills or technologies you are confident about, as interviewers may ask questions on them.
There were 20 MCQs based on Aptitude and Core Fundamentals, along with 1 coding problem.



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].
Step 1: Understand the Problem
I needed to find a subarray (continuous elements) with the maximum possible sum.
Step 2: Initialize Variables
I initialized two variables:
current_sum = 0 (to track ongoing subarray sum)
max_sum = -∞ (to store the maximum sum found so far)
Step 3: Traverse the Array
I iterated through each element of the array and:
Added the current element to current_sum
Updated max_sum = max(max_sum, current_sum)
Step 4: Reset When Needed
If current_sum becomes negative, I reset it to 0
Because a negative sum will reduce future subarray sums
Step 5: Final Answer
After completing the traversal, max_sum contains the maximum subarray sum.



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
Step 1:I used a two-pointer approach where one pointer starts from the beginning and the other from the end of the string.
step 2: I swapped the characters at both positions and moved the pointers towards the center until they met.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What does the SQL function NOW() return?