One of my LinkedIn friend referred me at Turvo Software- Hyderabad, I received a hackerearth coding test link.
Round 1: Online Coding Test
There were 2 questions on hackerearth platform
1. Similar to this question
2. There are N students in a class, sitting adjacent to each-other on benches numbered from 0 to N-1. There is stationary in school from where students can by pencils. There are 3 different types of pencils. The shopkeeper in order to trick students and tells each student a different price for the each of the 3 pencils. Also, it is a rule in class that two students sitting adjacent to each-other cannot use the same type of pencils. Find in minimum cost to buy pencils for all students.
if you submit solution of 1 question, they will call for next round telephonic discussion.
Round 2: Telephonic
1. Introduce yourself.
2. Project discussion.
3. find first repeating number in a array.
4. extension of question 3 -> if array elements only prime numbers. Optimize it
5. Given string is palindrome but there is a character added in string at any index and now this is not palindrome.
return index of wrong character.
eg: aabbcaa – return 4 Similar to this: https://www.geeksforgeeks.org/remove-character-string-make-palindrome/
6. hit counter
Round 3: f2f [Technical]
After successfully clear telephonic round, they will call hyderabad office
1. check a binary tree is BST or not. https://www.geeksforgeeks.org/a-program-to-check-if-a-binary-tree-is-bst-or-not/
2. 3rd largest element in a array. https://www.geeksforgeeks.org/third-largest-element-array-distinct-elements/
3. kth largest element in array. https://www.geeksforgeeks.org/kth-smallestlargest-element-unsorted-array/
4. check string is valid or not. you may remove only one character.
conditions: all characters must appears same number of times after removing a character. https://www.geeksforgeeks.org/check-if-a-string-has-all-characters-with-same-frequency-with-one-variation-allowed/
5. one more array related questions, don’t remember exactly
Tips : Always look for optimized solution first, but if you’re unable to do so, don’t hesitate in telling the less optimized one. You should be able to write the code for whichever approach you suggested and they’ll ask you to dry run for some sample cases.
Round 4: f2f [Design] with VP
1. Design a feature, which you implement in currently working company recently.
2. Design a class diagram and data structure to implement N runways in an airport. Single and multiple runway Aircraft Landing Problem.
Round 4: Telephonic with CTO
This round is normal discussion of your previous work experience with CTO of company.
- OYO Interview Experience | Set 11 (For 2 years experienced)
- Oyo Interview Experience | 3 years Experienced for SDE-2
- Oyo Interview Experience | 3.5 years Experienced for SDE-2
- Amazon Interview Experience for SDE 1 (1.5 years Experienced)
- Myntra Interview Experience for SDE 2 (3+ years Experienced)
- Oracle Interview Experience for 2 years Experienced
- Microsoft IDC interview Experience | Set 47 (For 1.7 Years Experienced)
- Intuit Interview Experience | Set 7 (For 3.5 Years Experienced)
- Paytm interview experience | Set 24 (1.5 years experienced)
- Cars24 interview Experience (3 Years Experienced)
- BirlaSoft Interview Experience | 2.2 years Experienced
- Microsoft interview Experience | Set 48 (For 1.5 Years Experienced)
- Amazon Interview Experience for SDE-1(0 - 2 years Experienced)
- Expedia Interview Experience | Set 9 (For 1.8 Years Experienced)
- Adobe Interview Experience (3+ years experienced)
- Nagarro Interview Experience | Set 7 (For 2 Years Experienced)
- Amazon Interview Experience | Set 340 (3.5 years experienced for SDE 1)
- Oracle Interview Experience | Set 44 (For 4.5 Years Experienced)
- Microsoft Interview Experience | Set 112 (For 4.5 Years Experienced)
- Cadence Interview Experience | Set 3 (For 6 Years Experienced)