Vehant Technologies Interview Experience
1st round: It was an online test consisting of MCQs related to debugging, aptitude and general mathematics.
There were 3 coding questions.
Easy (50 points): Next Greater Element
Medium (75 points): Find the number of pairs which satisfy the condition a[i]%a[j] ==0 (j>i), also if one of the pairs returns false, then you will not check the further pairs.
2 4 5 6 Here, 2%4==0, pair=1, 2%5==1, pair=1, but will not check further pairs. Although 2%6==0 but it will not be counted.
Hard (100 points): Sub-string Divisibility by 3 Queries
The question was a variant of this question, no queries were given the maximum number of strings must be given as output.
Round 2: It was a technical round. The interviewer had a detailed discussion on my resume. The interviewer was impressed by my contributed article on GeeksforGeeks which was on Fuzzy c means clustering. She asked me k means clustering and gave some points to solve. She then asked me about supervised and unsupervised machine learning techniques. Then she asked me one coding question.
Round 3: It was a straight DS Algo round
- Given a stream of string find out the number of words in O(n) time and O(1) space.
- You have n candies, for eating every k candies you get 1 more candy. Find maximum candies you can eat in O(n) time.
Round 4 (Tech+HR): The interviewer asked me 2 coding questions.
- Deletion of a node in BST.
- Find the missing numbers in an unsorted array.
He asked me about my family background and subjects of interest.
Subjective questions on OOPs:
- Polymorphism with a real-world example.
- Difference between both with examples.
He seemed to be happy with my answers
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon. Google , E-Litmus and Microsoft Test Serieses.