Tip 1: Master Data Structures and Algorithms: Focus on understanding core data structures. Solve a variety of problems to enhance your problem-solving skills.
Tip 2: Practice Mock Interviews: Participate in mock interviews with friends, colleagues, or on online platforms. This helps simulate real interview scenarios, improves your communication, and boosts confidence for the actual interview.
Tip 3: Be confident in the interview.
Tip 1: Tailor Your Resume for the Job: Customize your resume for each job application by highlighting the most relevant skills, experiences, and achievements. Use keywords from the job description to catch the recruiter's attention and show how you align with their requirements.
Tip 2: Keep it Concise and Clear: Keep your resume concise, ideally one to two pages. Use clear and easy-to-read formatting, bullet points, and proper section headings. Avoid excessive jargon and focus on presenting your accomplishments in a well-structured manner.
Candidates were required to solve a series of coding-related multiple-choice questions. These questions tested their knowledge of data structures, algorithms, programming concepts, and problem-solving abilities. The MCQ coding round acted as a preliminary assessment to shortlist candidates for further interview rounds, where they would be evaluated more comprehensively on their coding abilities and problem-solving skills. The difficulty level of the questions varied, ranging from easy to challenging, to assess candidates' coding skills comprehensively.



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].
Initialize two variables, max_sum, and current_sum, to track the maximum subarray sum and the current subarray sum, respectively.
Traverse the array and for each element, update the current_sum by adding the current element to it.
If the current_sum becomes negative, reset it to zero since a negative sum won't contribute to the maximum sum.
Update the max_sum with the maximum value between max_sum and current_sum in each iteration. The final value of max_sum will be the answer.



1. Horizontally as 1x2 tile
2. Vertically as 2x1 tile
The number of ways might be large so output your answer modulo 10^9 + 7.

2 DSA questions asked, medium level on meet



An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.
For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3].
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Can you solve this in linear time and constant space complexity?
To solve this problem efficiently, use a dynamic programming approach. Keep track of both the maximum and minimum product subarrays ending at each index. At each step, update the maximum and minimum based on the current element. The final answer will be the maximum product found during the traversal. Handle negative numbers properly, as they might change the maximum product when multiplied. This approach has a time complexity of O(n), where n is the size of the input array.



1 denotes the HEAD side is up.
0 denotes the TAIL side is up.
Start with a sliding window approach, where you maintain a window of size at most K.
Iterate through the array, expanding the window to the right, and keep track of the number of negative elements in the window.
If the number of negative elements exceeds K, shrink the window from the left until the number of negative elements is within the limit.
Keep updating the maximum sum encountered during the process.
Return the maximum sum as the result.
Tell me about yourself.
How do you handle stress and tight deadlines?
How do you handle constructive criticism?
Tip 1: Be Prepared: Research the company, its values, and the role you are applying for. Familiarize yourself with your resume and be ready to discuss your experiences and achievements confidently.
Tip 2: Show Enthusiasm: Display a genuine interest in the company and the position. Showcase your passion for the role and the organization, highlighting how your skills align with their requirements.
Tip 3: Communication and Body Language: Maintain good eye contact, and speak clearly and confidently. Use positive body language to convey your professionalism and engagement. Listen actively and respond thoughtfully to questions.

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?