![]() |
VOOZH | about |
Round 1 at AthenaHealth: Hakerrank - 12 Questions - 90 mins
10 MCQ: Based on core subjects like OS, CN, and OOPS concepts. Also, Code related questions to predict the output of the given code.
2 Coding Questions:
[1,3,46,1,3,9] , sum = 47
possible pairs are: (1,46), (46,1), (46,1), (1,46)
indexes: [0][2] [2][0] [2][3] [3][2]
- four times due to repetition of '1'
- return only once - (46,1)
Hence, output = 1Sample Input 2:[5,7,9,13,11,6,6,3,3] sum = 12
possible pairs are: (5,7), (7,5), (9,3),
(9,3), (3,9), (9,3),
(6,6), (6,6)
indexes: [0][1] [1][0] [2][7] [2][8]
[7][2] [8][2] [5][6] [6][5]
return only distinct - (5,7), (9,3), (6,6)
Hence, output = 3[7,1,2,5]
1<7 -> continue;
2>1 -> 2-1 = 1 : diff
5>2 -> 5-2 = 3
5-1 = 4 : maximum diff = outputSample Input 2:[7,5,2,1]
5<7 , 2<5 , 1<2 -> continuously decreasing : return -1;Round 2: Technical Interview on Hakerrank CodePair - 60 mins
Round 3: HR - Basic behavioral questions.