Tip 1 : Practice leetcode. Majority of the test questions come directly from there.
Tip 2 : Don't just rote memorize the concepts. See their real life implementation too around you.
Tip 3 : Revise your projects also specially which you made in your 1st and 2nd year.
Tip 1 : First of all, choose a nice format. There shouldn't be many empty spaces and at the same time don't add everything in your resume and make it look messy and lengthy.
Tip 2 : Don't mention your certifications of online course which is done by everyone. Instead, make some projects based on that course and then add it in your resume.
It was organized in the evening. Monitoring was done by webcam and microphone. MCQ's based on aptitude, technical, @ SQL questions and 2 coding questions.
1. The integers x,y and z might not be distinct , but they should be present at different locations in the array i.e if a[i] = x, a[j] = y and a[k] = z, then i,j and k should be pairwise distinct.
2. The integers a,b and c can be present in any order in the given array.
I solved it using 3 loops resulting in an O(n^3) time complexity, but since constraints were small all the test cases passed.
Firstly they asked me for some Linux command line functions. Then they went on SQL. Started from the basic questions by writing a code for creating a table for some values then moved ahead by asking some theoretical and asked me to write some SQL commands too. Then they asked me to write a function which returns whether 2 strings are anagrams or not. Then they asked me to explain everything which I know about oops. After that they asked me 2 simple puzzles.
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At no point you can find out the actual speed of the horse in a race. Find out how many races are required to get the top 3 horses.
Make group of 5 horses and run 5 races. Suppose five groups are a,b,c,d,e and next alphabet is its individual rank in tis group(of 5 horses).for eg. d3 means horse in group d and has rank 3rd in his group. [ 5 RACES DONE ]
a1 b1 c1 d1 e1
a2 b2 c2 d2 e2
a3 b3 c3 d3 e3
a4 b4 c4 d4 e4
a5 b5 c5 d5 e5
Now make a race of (a1,b1,c1,d1,e1).[RACE 6 DONE] suppose result is a1>b1>c1>d1>e1
which implies a1 must be FIRST.
b1 and c1 MAY BE(but not must be) 2nd and 3rd.
FOR II position, horse will be either b1 or a2
(we have to find top 3 horse therefore we choose horses b1,b2,a2,a3,c1 do racing among them [RACE 7 DONE].
The only possibilities are :
c1 may be third
b1 may be second or third
b2 may be third
a2 may be second or third
a3 may be third
The final result will give ANSWER. suppose result is a2>a3>b1>c1>b2
then answer is a1,a2,a3,b1,c1.
HENCE ANSWER is 7 RACES
Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams.
'triangle' and 'integral'
'listen' and 'silent'
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct.
I sorted both strings and then compared.
Basic questions regarding strengths, weakness, why should we hire you, family background, etc
Tip 1: Tell them your unique skills by giving some real-life examples.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you select an element by class name in CSS?