Consultadd Interview Experience (Off-Campus)
Last Updated :
27 Sep, 2023
Consultadd is a tech company established in 2013 in New York. It was a pool campus drive. They took a coding test first. They asked 2 questions for the coding test and it was a pen-paper test. The 2 questions were from leetcode. One question was easy and the other was a medium question from leetcode.
ROUND 1
- Largest subarray with an equal number of 0s and 1s [Easy]
Example
Input: arr[] = {1, 0, 1, 1, 1, 0, 0}
Output: 6
(length of the largest subarray [0,1,1,1,0,0])
Input: arr[] = {1, 1, 1, 1}
Output: No such subarray
- Given an array of strings strs, group the anagrams together. [Medium]
Example
Input: strs = [“eat”,”tea”,”tan”,”ate”,”nat”,”bat”]
Output: [[“bat”],[“nat”,”tan”],[“ate”,”eat”,”tea”]]
I cleared the coding test. They have 2 interview rounds and 1 HR round after clearing the coding test.
I Was rejected in interview round 1.
Questions that were asked from me was
- What is my favorite subject?
- If we have to build an operating system what should be our requirements?
- The interviewer asked a cross question do we need to know about DSA?
- What are the types of OS?
- The time complexity of Array and LinkedList?
- I have a server in which continuous data is coming now I will use array or linked list?
- Difference between Encapsulation and Abstraction?
- What are Run-time and Compile-time Polymorphism? Is inheritance compulsory for polymorphism?
- What is searching? Differentiate Linear Search and Binary Search.
- Differentiate between Primary Key and Composite Primary Key?
- Types of relationships in Database?
- Explain many to many relationships in RDBMS
- I have an array with 10 elements and I have an LinkedList with 10 elements in it. What will the time complexity be if I delete the 5th element from both?
So, I was rejected in this round only and didn’t have any further experience in the round 2 and HR rounds. But I heard that they asked Leetcode’s 2 medium and 1 hard questions.
Share your thoughts in the comments
Please Login to comment...