Druva Interview Questions | Online Test And Telephonic Interview
I got a text in my LinkedIn message box from Druva. They have a job opening and find my profile suitable for their job recruitment. Here is I am sharing my Druva Interview questions and experience with the online test.
Quick Tips for Linkedin User:
Many people think LinkedIn is a job searching portal. But it is also portal for recruiters those are seeking for talent. Being a candidate, whether you are searching for a job or not, always keep your LinkedIn profile neat and clean. Keep adding new skills that you learn. You will never know how big an opportunity is coming in your way even if you are not looking for.
After getting a message from Druva recruiter on Linkedin, I sent them my contact detail. After having a discussion, they asked me for a CV.
I got my CV shortlisted. We finalized a schedule for online test. Here is my experience for online test.
Druva Online Test Pattern:
In an email, they had explicitly mentioned the topics that were going to be asked in the online test.
So here is… What are the topics you should prepare for Druva Online Test?
- Computer Concepts / Fundamentals
- Data structures & algorithms
- Threads & Synchronization
- Programming & Problem-Solving Skills
Druva software online test questions:
There were subjective as well as objective questions in the online test.
There is no strict timing for online test. But they expect to complete in 1-1/2 to 2 hours. We can take even more time if it is necessary. Priority is to answer questions correctly as many as you can.
Following are the sections covered in Druva online test.
- Background Information (5 questions)
- Computer Science Concepts (5 questions)
- Data Structure and Algorithm (5 questions)
- Threads and Synchronization (3 questions)
- Analyze a program (2 questions)
- One programming question
I must say, solve the programming question correctly. If you make it, you have more chances. So it is very important. You can write code in any language as you are good at.
For me, in online text, they ask me to write code to find “Out of Date Software”. You can find the complete program for Out of Date Software.
After a couple of days, I got an email from Druva as I got a shortlisted for interview. They asked me for the telephonic interview.
Here are Druva placement interview questions I faced in a telephonic interview.
Druva Interview Questions:
After giving the online test, I was asked for a technical interview.
I was giving telephonic interview first time. I thought it may be verbal questions and answers discussion. But it was purely a coding test. They shared the Google Sheet with me. Interviewer and me, both we had access to this sheet. Whatever I write there, it is visible to an interviewer and vice-versa.
Druva Telephonic Interview Round One:
There was only one interviewer.
They shared one Google sheet with me. So whatever they will write, or I will write, it is visible to both of us.
The interview had started with an introduction as usual. You can refer to what are the questions usually asked in the interview.
Then he asked me a couple of questions on academic and current work.
After that, he straight comes to coding part.
Before writing any code, I just asked him, what is the preferred language for writing code? He told me to write in any language.
Some of the programs as I remember as follows.
Question: You have given string s1, s2, and s3. Write a program to replace the occurrence of an s2 string in s1 with s3 string.
Question: Write a program to reverse the linked list.
You are alumina of college. And your college authority wants your help. They have a list of 2000 students names in a file, and they want to search the name of the student from the list of students stored in the file. Is it possible to search the name of the student in constant time?
Me: Yes, it is possible.
So he asked me how?
Here is my answer.
If you apply any of the search algorithms, it will take at least log(n) time.
So there is another way to do that, using hashing.
We will find the hash for each of the student names, and we will keep the hash value and name in the hash table.
When we do search operation, first we will find the hash of the search term and will match it with the hash value in the hash table.
If that matches, we can return the name of the student from the hash table.
But there is a challenge to do hashing. We need to define hashing function which will return the hash value unique for each student name.
He was satisfied with an answer and moved to the next one.
Question: You have given file which contents students result. The data in the file is as follows.
Expected Output: 23, English, 54 34, Match, 44 23, English, 46
Write a program to find the average mark of each subject for the student who has the lowest id?
Answer: Rather than writing code, he asked me to explain how to do this.
It’s pretty simple. I explained to him everything.
We will find all the tuple for students having the lowest id. Then we will calculate the average for each subject.
He points out by saying “it will take two iterations first to find the tuples with lowest id and the next iteration is to calculate the average for each subject”.
He asked me “is it possible to do it in a single iteration?”
Yes! It is possible.
We will traverse the tuples, and if it is the lowest ID, we will calculate the average mark. And we will store it in main memory.
Following will be the scenarios,
Step 1: Every time read next id. If we get the higher id, we will skip that. For lower id, we will reset all previously calculated data and start considering this as lowest id. If we get the same id, we will manipulate and update the main memory data.
Step 2: We will traverse to end of the file. In the end, we will get the average mark of each subject for students having the lowest id.
I thought this was the only interview and I was confident to crack it. After a couple of days, again I got a call from Druva HR. She told me as there is one more online interview.
After that, I had another interview.
Druva Interview Questions [Telephonic] Round Two:
Question: Details about current work.
Question: Three threads are running in parallel. Each thread prints some data.
T1, T2, andT3 are running threads. Each print “One”, “Two” and “Three” respectively.
Expected Output: One Two Three One Two Three
I was unable to write code for it as I have not used the thread for a long time.
I told interviewer conceptually how it is possible. But he was not happy.
Question: There are 10 Million integers in File. The size of an integer is 4 Bytes. Write a program to sort it but with memory limitation of 4 MB. Let’s say X integers can be fit into memory at any time.
Instead of writing code, he asked me to write the algorithm and to explain it.
Solution: Here we can use divide and conquer technique [step-by-step].
- Read the file and store the X integers values in memory. Sort the values stored in memory. And write back it to the file.
- Take another chunk of next X integers from the file. Repeat step 1 until all the elements in the file get sorted.
- Conquer all the sorted chunks.
Question: What are the Mutable and Non-Mutable data types in Python?
Solution: You can read detail about the difference between mutable and immutable data type in Python.
Some tips to Crack Druva Interview:
- If you are looking for Job change, you should have a valid reason why do you want to switch. In an interview, they will ask you.
- Even though they ask for a telephonic interview, most probably they will ask you to write code on the Google sheet shared with you. I did a mistake as I was thinking of telephonic verbal interview.
Here are another Druva Interview Questions and experience shared by another candidate.
Online Coding Question:
Problem statement for the coding round: You are supposed to distribute M candies in K kid. 1st kid gets 1 candy, 2nd gets 2 and Kth gets K candies if the candies are not finished 1st kid gets K+1 candies 2nd gets K+2 and so on till the candies are finished.
for M=11 K=3
for M=7 K=4
- implement bitset class
- remove a node from the linked list
- implement < operator for a class with 3 members in it
This is all about Druva interview questions and my experience. Hope you find it useful.
Thanks, Guy! All the best if you are appearing for Druva placement!
Editor’s Note: This experience is shared by Candidate and we wish him a very bright future ahead. If anyone wants to share their experience, you can write here.