Tip 1 : Do projects on JAVA
Tip 2 : Practice aptitude and resoning
Tip 3 : Learn coding
Tip 1 : Highlight your skills
Tip 2 : Don't mention unnecessary info.
- Morning time
- Environment was good.
- No
- Interviewer was good



1) A subarray is a part of the array which is contiguous (i.e. elements in the original array occupy consecutive positions) and inherently maintains the order of elements. For example, the subarrays of the array {1, 2, 3} are {1}, {1, 2}, {1, 2, 3}, {2}, {2, 3}, and {3}.
2) Bitwise OR operation takes two numbers and performs OR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise OR will be 3. Because the binary representation of 2 is 10 and the binary representation of 3 is 11. And OR of 10 and 11 will be 11 which evaluates to 3.
3) The array may contain duplicate elements.



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.






1. The sub-array of an array is a continuous part of the array.
2. Consider ‘0’ based indexing.
3. ‘k’ will always be less than or equal to ‘n’.
3. Don’t print anything, just return the integer array ‘count’.



If the given array is [1,2,3] then the answer would be 2. One of the ways to make all the elements of the given array equal is by adding 1 to the array element with value 1 and subtracting 1 from the array element with value 3. So that final array would become [2,2,2].
- Morning time
- Environment was good.
- No
- Interviewer was good
1- How would your current manager describe you?
2- What would you change about your current job description?
3- How do you stay organized in your current position?
4- Tell about a time when you made a mistake. What did you do to fix it?
Tip 1 : Practice communication skills
Tip 2 : Hands on verbal skills
Tip 3 : Don't tell false and big stories

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?