Vehant Technologies Interview Experience
Last Updated :
29 Oct, 2020
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.
Example:
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.
- Write a function to get the intersection point of two Linked Lists
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.
- Abstraction
- Difference between both with examples.
He seemed to be happy with my answers
Verdict: Selected
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...