Tip 1 : be clear with your projects
Tip 2 : Prepare linkedlist well
Tip 3 : Be confident
Tip 1 : Two projects are enough.
Tip 2 : Avoid writing terms you are not sure about
90 minutes test in evening with 14 mcqs and 2 programming question. But I only remember 1. Process was smooth.



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 : The simple idea of Kadane’s algorithm is to look for all positive contiguous segments of the array (max_ending_here is used for this). Step 2 keep track of the maximum sum contiguous segment among all positive segments (max_so_far is used for this).
Step 3 Each time we get a positive-sum compare it with max_so_far and update max_so_far if it is greater than max_so_far
It was in morning on zoom, you can give on any editor of your choice. You have to run the code.

N=3
Answer:- 1 ( 1 has 1 factor , 2 has 2 factors and 3 has 2 factors , so total 5 and 5 % 2 = 1).
Was scheduled for afternoon, had easy dsa questions mainly based on arrays.



For example, if the input array is: [0, 1, -2, 3, 4, 0, 5, -27, 9, 0], then the output array must be: [1, -2, 3, 4, 5, -27, 9, 0, 0, 0].
Step 1 : use partitioning of array technique
Step2 : We will use 0 as a pivot element and whenever we see a non zero element we will swap it with the pivot element.
Step 3 : So all the non zero element will come at the beginning.
Was scheduled in evening, interviewer was very helpful. Questions were mainly based on linkedList.



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


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