You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1st Round - mins
Online coding round:
Two questions were given and hackerrank's platform was used.
One easy question and one tough question.
2nd Round -
The first question I was asked if I was given a chemical compound formula then how to find number of occurrence of all atoms.
For example :
Input -> Mg2SO4
Output -> Mg = 2, S = 1,O = 4
The other question I was asked to check if 2 there is a intersection point between 2 linked list or not.
Many questions of oops were asked, for eg: polymorphism and its types, virtual function, virtual destructors, abstract classes.
3rd Round -
Merge two sorted array without using extra space.
Find the largest number formed from an array.
Majority element in an array.
Find the elements in an array which occurs more than N/4 times if array has N elements.
They showed me some c++ code( of inheritance, copy constructor etc) and asked me what will be the output.
Oops is very important along with data structures and algorithm.