Tip 1 : Do practice coding question regularly on platform like leetcode, gfg.
Tip 2 : Before going interview. Check the interview experience on GFG. You will get some idea.
Tip 3 : Maintain your consistency
Tip 1 : Don't write false information in your resume.
Tip 2 : Be prepared with your resume
It was an Aptitude + Technical mcq round(1 hr duration). It started at morning around 9:00am and the test duration was of one hour. The questions were of moderate difficulty. Practice the indiabix ques for aptitude and gfg for technical mcq.
most of the question were available on internet. Which you can find easily



The maximum sum is calculated by using the following rules:-
For every ‘i’ in range 0...N:
Max_sum += abs(arr1[i] - arr2[i])
And If i < N-1:
Max_sum += abs(arr1[i+1] - arr2[i])
Input:
n = 4
arr1[] = {2,3,4,1}
arr2[] = {2,4,1,1}
Ouput: 11
Explanation:
Here we will swap arr1[2] and arr2[2]. (Swap)
arr1[] = {2,3,1,1}
arr2[] = {2,4,4,1}
for this type of arrangement, we have our maximum Define Sum.
Sum = abs(arr1[0]-arr2[0]) + abs(arr1[1]-arr2[0]) + abs(arr1[1]-arr2[1]) + abs(arr1[2]-arr2[1]) ....
Sum = abs(2-2) + abs(3-2) + abs(3-4) + abs(1-4) + abs(1-4) + abs(1-4) + abs(1-1) = 11
It was a coding round. The duration of the coding round was 150 min. There were 5 coding question in this round
in my college, they were hiring for 2 roles first one is sd (4.5 LPA).
There are 5 question in round 2, first three question was easy to moderate. these ques are for the SDE role. I was able to solve all three question
next two questions was little bit difficult, but I practiced a lot of question. Those 2 question I was able to solve those.



A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:
1. 'ARR[i] > 'ARR[j]'
2. 'i' < 'j'
Where 'i' and 'j' denote the indices ranging from [0, 'N').



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.




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?