Tip 1 : Be consistent
Tip 2 : Solve all standard Problems
Tip 3 : Prepare core subjects as well
Tip 1 : Having at least 1 project in resume
Tip 2 : resume should be one page only strictly
Tip 3 : Put some achievements like you got a good rank in a coding contest help you to stand out
It was online and we are giving the test on our laptop.
It was about 5 pm in the evening time.
Every time the Online assesement was more about mcqs type but this time whole round was different.
there were one coding question and 1 api question


Input: ‘N’ = 5, ‘K’ = 4, ‘NUMS’ = [ 1, 2, 1, 0, 1 ]
Output: 4
There are two subarrays with sum = 4, [1, 2, 1] and [2, 1, 0, 1]. Hence the length of the longest subarray with sum = 4 is 4.
An efficient solution is while traversing the array, storing sum so far in currsum. Also, maintain the count of different values of currsum in a map. If the value of currsum is equal to the desired sum at any instance increment count of subarrays by one.
The value of currsum exceeds the desired sum by currsum – sum. If this value is removed from currsum then the desired sum can be obtained. From the map, find the number of subarrays previously found having sum equal to currsum-sum. Excluding all those subarrays from the current subarray, gives new subarrays having the desired sum.
So increase count by the number of such subarrays. Note that when currsum is equal to the desired sum then also check the number of subarrays previously having a sum equal to 0. Excluding those subarrays from the current subarray gives new subarrays having the desired sum. Increase the count by the number of subarrays having sum 0 in that case.
Based on api we have to fetch some data by using api from a site and then we have to perform some operation
I'm not able to recognize the the question as it was a long one
But it was similar to typical api questions that is asked in some online round of the companies
It was early in the morning may be the time was 8:30 am.
It was my first round.
He introduced himself and asked me the same.
He started with my internship.
How was my internship?
How was your experience ?
What was my work ?
More discussion was on my experience and work



The lists (1 -> 2 -> 1), (3 -> 4 -> 4-> 3), and (1) are palindromes, while the lists (1 -> 2 -> 3) and (3 -> 4) are not.
Follow the steps below to solve the problem:
A simple solution is to use a stack of list nodes. This mainly involves three steps.
Traverse the given list from head to tail and push every visited node to stack.
Traverse the list again. For every visited node, pop a node from the stack and compare data of popped node with the currently visited node.
If all nodes matched, then return true, else false.
It was in the morning may be the time was 11:00 am.
It was my first round.
He introduced himself and asked me the same.
Then Jumped to my project section.
Explain your project?
What difficulty you faced while implementing the features?
What improvement can you do in your project?
Why used this particular tech stack why not other?
sql vs nosql?
Tip 1:Always be prepare for such questions.
Tip 2: They are just checking that you have done this project or not.
Tip 3: If you have done this then you can able to give answer.

Median for ‘arr’ = [1,2,3,4,5] is 3.
Median for ‘arr’ = [1,2,3,4] is (2+3)/2 = 2.5.
Input:
5
1 1
1 2
2
1 5
2
Output:
1.5
2
Explanation:
MedianFinder() initialises the MedianFinder object.
Add 1 to the data structure ‘arr’, so arr = [1].
Add 2 to arr, so arr = [1,2]
Find Median of current arr, that is (1+2)/2 = 1.5.
Add 5 to arr, so arr = [1,2,5]
Find Median of current arr, that is 2.0.
If we can sort the data as it appears, we can easily locate the median element. Insertion Sort is one such online algorithm that sorts the data appeared so far. At any instance of sorting, say after sorting i-th element, the first i elements of the array are sorted. The insertion sort doesn’t depend on future data to sort data input till that point. In other words, insertion sort considers data sorted so far while inserting the next element. This is the key part of insertion sort that makes it an online algorithm.
However, insertion sort takes O(n2) time to sort n elements. Perhaps we can use binary search on insertion sort to find the location of the next element in O(log n) time. Yet, we can’t do data movement in O(log n) time. No matter how efficient the implementation is, it takes polynomial time in case of insertion sort.
we can use a max heap on the left side to represent elements that are less than effective median, and a min-heap on the right side to represent elements that are greater than effective median.
After processing an incoming element, the number of elements in heaps differs utmost by 1 element. When both heaps contain the same number of elements, we pick the average of heaps root data as effective median. When the heaps are not balanced, we select effective median from the root of the heap containing more elements.
It was early in the evening time may be 4:00pm
It was my first round.
He introduced himself and asked me the same.
Why you want to join Oracle?
Why I didn't got PPO from my internship?
If you are the manager of a team and one person is taking all the credit. Then what will you do?
Tip 1:Always do some research about the company
Tip 2:These are standard HR questions prepare from the site.

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?