Zoho Corporation interview experience Real time questions & tips from candidates to crack your interview

Software Developer

Zoho Corporation
upvote
share-icon
5 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 months
Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Coding Test - Pen and paper
Duration135 minutes
Interview date14 Apr 2015
Coding problem0

40 Questions full of programming, first 10 questions have half mark, next 30 Questions have 1 mark, no Compilation Errors.

02
Round
Easy
Face to Face
Duration60 minutes
Interview date14 Apr 2015
Coding problem4

Technical Interview round with DSA based questions

1. Count Even Or Odd

Hard
30m average time
60% success
0/120
Asked in companies
UberOlaExpedia Group

Tanmay and Rohit are best buddies. One day Tanmay gives Rohit a problem to test his intelligence and skills. He gives him an array of N natural numbers and asks him to solve the following queries:-

Query 0 :

0 x y

This operation modifies the element present at index x to y.

Query 1 :

1 x y 

This operation counts the number of even numbers in range x to y inclusive.

Query 2 :

2 x y 

This operation counts the number of odd numbers in range x to y inclusive.

Problem approach

This is a basic mathematics question. 
Run a loop from X to Y. Print all those numbers where i%2!=0 where i varies from X to Y. 

Time Complexity : O(N) where N is the total count of numbers from X to Y 
Auxiliary Space : O(1)

Try solving now

2. Sort Integers by Factor Value

Moderate
30m average time
70% success
0/80
Asked in companies
MicrosoftZoho Corporation

You have been given an array/list ‘ARR’ of integers consisting of ‘N’ integers. The factor value is the number of following operations it takes for the number to become 1.

The two operations are as follows:-

If ‘x’ is even then ‘x’ will become ‘x / 2’.

If ‘x’ is odd then ‘x’ will become ‘x * 3 + 1’.

Your need to sort them in increasing order of factor value i.e. if two integers have the same factor value then sort in increasing order of their value. Your task is to return the ‘K-th’ value in the list after sorting.

Example:
Let’s say you have an array/list [1, 3, 4, 5] and ‘K’=2. The factor values are [0, 7, 2, 5] respectively. Finally, our array will look like [1, 4, 5, 3]. Since ‘K’ is 2 return 4.
Problem approach

Steps: 
1. For each element, count its distinct number of factors. 
2. Next, use a structure for each element to store its original index and count of factors. Create an array of such structures to store this information for all the elements.
3. Sort this array of structures using any sorting algorithm.
4. Traverse this array of structures from the beginning and get the number from the original array with the help of the index stored in the structure of each element of the sorted array of structures.
Time complexity : O(n √n)

Try solving now

3. Convert A Given Number To Words

Easy
15m average time
80% success
0/40
Asked in companies
HSBCOracleGoldman Sachs

Given an integer number ‘num’. Your task is to convert ‘num’ into a word.

Suppose the given number ‘num’ is ‘9823’ then you have to return a string “nine thousand eight hundred twenty three” that is word conversion of the given ‘num’ 9823.

Problem approach

For numbers up-to 4 digits, the idea is to create arrays that store individual parts of output strings. One array is used for single digits, one for numbers from 10 to 19, one for 20, 30, 40, 50,.. etc, and one for powers of 10. 
Next, keep dividing the number into different parts and append the corresponding word in the output string.

Try solving now

4. Look-And-Say Sequence

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftMakeMyTripBarclays

The Look-And-Say sequence is a sequence of positive integers. The sequence is as follows:

1, 11, 21, 1211, 111221, 312211, 13112221,...

This sequence is constructed in the following way:

The first number is 1.

This is read as “One 1”. 
Hence, the second number will be 11.

The second number is read as “Two 1s”. 
Hence, the third number will be 21.

The third number is read as “One 2, One 1”. 
Hence, the fourth number will be 1211. And so on.

The fourth term is read as “One 1, One 2, Two 1s”.

Hence, the fifth term will be 111221. And so on.

Given an integer N, find the Nth term of the sequence.

Problem approach

If observed carefully, the next term is generated from the previous term in this sequence. So, a direct approach would be to generate all terms from 1 to n. The first two terms will be initialised to 1 and 11 respectively. All the other terms will be generated using the previous terms. 
To generate the next term, loop over the previous term and keep count of all consecutive characters. As soon as two adjacent characters are not same, append the count followed by the character to generate the next term. Repeat the process until the entire previous term is not scanned.

Try solving now
03
Round
Medium
Face to Face
Duration60 minutes
Interview date14 Apr 2015
Coding problem3

Technical Interview round with questions based on DSA mainly.

1. Circular Tour

Easy
35m average time
85% success
0/40
Asked in companies
AdobeMicrosoftExpedia Group

You have been given a circular path. There are N petrol pumps on this path that are numbered from 0 to N - 1 (Both inclusive). Each petrol pump has two values associated with it:

1)The amount of petrol that is available at this particular petrol pump.

2)The distance to reach the next petrol pump.

You are on a truck having an empty tank of infinite capacity. You can start the tour from any of the petrol pumps. Your task is to calculate the first petrol pump from where the truck will be able to complete the full circle or determine if it is impossible to do so.

You may assume that the truck will stop at every petrol pump and it will add the petrol from that pump to its tank. The truck will move one kilometre for each litre of petrol consumed.

Problem approach

The brute force solution is to consider every petrol pumps as a starting point and check if there is a possible tour. If a starting point is found with a feasible solution, return that point as the answer. 
Time Complexity : O(N^2) 
To optimise the above solution, A queue can be used to store the current tour. First , enqueue the first petrol pump to the queue, and enqueueing petrol pumps till either the tour is completed , or the current amount of petrol becomes negative. If the amount < 0, then keep dequeuing petrol pumps until the queue becomes empty.
Instead of using a queue, the given array can also be used by maintaining two index variables start and end that represent the rear and front of the queue.
Time Complexity : O(N)
Auxiliary Space : O(1)

Try solving now

2. Excel Column Number

Easy
23m average time
0/40
Asked in companies
OptumAppleOracle

You have been given a column title as appears in an Excel sheet, return its corresponding column number.

For example:
A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28 
...
Problem approach

For every additional digit of the string, multiply the value of the digit by 26^n where n is the number of digits it is away from the one's place. 
This is similar to how the number 254 could be broken down as this: (2 x 10 x 10) + (5 x 10) + (4). For this question, 26 will be used as a base instead of 10. 
For s = "BCM" the final solution would be (2 x 26 x 26) + (3 x 26) + (13)
This process can be carried out iteratively. Start at looking at the first character of the string. Add the integer equivalent of that character to the running sum and continue. For every new character, multiply the running sum by 26 before adding the new digit to signify we are changing places.

Try solving now

3. Create A Matrix With Alternating X And 0

Easy
15m average time
85% success
0/40
Asked in companies
AdobeZoho Corporation

You are given two integers ‘N’ and ‘M’. Your task is to create a matrix of size N x M in which every element is either ‘X’ or ‘0’. The ‘X’s and ‘0’s must be filled alternatively, the matrix should have an outermost rectangle of ‘X’s, then a rectangle of ‘0’s, then a rectangle of ‘X’s, and so on.

For example :
For given dimension N = 5 and M = 5 :

[      [X, X, X, X, X],
       [X, 0, 0, 0, X],
       [X, 0, X, 0, X],
       [X, 0, 0, 0, X],
       [X, X, X, X, X]     ]
Problem approach

One approach would be to create rectangular frames one by one such that the outermost frame consists of ‘X’s and then that of ‘0’s and again ‘X’s and so on. 
To implement this , we need to create alternate frames of ‘X’s and ‘0’s and thereby create the whole matrix of size ‘N’ x ‘M’. 

Steps :

1. Create a 2D matrix which will be our constructed matrix.
2. Now fill the characters of the matrix in spiral form, where every iteration fills the matrix with either ‘X’ or ‘0’ values.
3. Starting from the value ‘X’, fill ‘X’ in the first row, last column, last row, and the first column of the remaining matrix rows and columns which is nothing but the outermost rectangular frame of the remaining frames.
4. For the next frame flip the value ‘X’ to ‘0’, and do the same for this frame, fill ‘0’ in the first row, last column, last row, and the first column of the remaining matrix rows and columns which is nothing but the outermost rectangular frame of the remaining frames.
5. Follow steps 3 and 4 alternatively until you are out of frames.

Try solving now
04
Round
Easy
Face to Face
Duration60 minutes
Interview date14 Apr 2015
Coding problem3

This was a technical interview round to test real time programming and analysis.
Note: Showing output does matter , you need to show the output as soon as possible. And also, you need to solve the constraints very fast, since you know what you have done in your program. After finishing the program always explain the logic behind it and the constraints about the processing and how you solved those constraints to the technical people.

1. OOPS Question

Form a structure which has few elements:
struct product {
char productname[20];
int product_price;
int product_id;
}

Get the product name, price and id and display the product name and price in descending of the price.

Problem approach

Tip 1 : Make a list of structures to store the different products. And then sort the array on the basis of the product_price member and display the products.

2. OOPS Question

For the same above structure, now add another structure which is the category. That category will have products in it. 
Struct category
{
char category_name[20];
int cat_id;

According to the category, get the product name, product price and id, then display all the products category wise in descending order.

Problem approach

Tip 1: Make a category structure and add it as a member in the product structure. 
Tip 2: For every category, display all the products in that category sorted in descending order.

3. OOPS Question

A sheet full of data will be given with inventory stock list, which is different categories and different products as input with category capacity and product availability in the structure. Now we need to add a new category or new product with capacity and availability. Need to check whether the product availability is exceeding the category capacity, if yes the output rack is full or else tell how much free space is available and add the product to list.

Problem approach

Tip 1: For each category, calculate the product availability of all products in that category. 
Tip 2: If total product availability > category capacity, output rack is full. 
Tip 3: Otherwise, output the amount of free space (difference of two ) and if free space >= product availability of new product, add it to the list,

05
Round
Easy
HR Round
Duration30 minutes
Interview date14 Apr 2015
Coding problem1

General HR round with typical behavioral problems.

1. Basic HR Questions

1. Why Zoho?
2. What are your strengths and weaknesses ?
3. Why do you think you are fit for this role ?

Problem approach

Tip 1 : The cross questioning can go intense some time, think before you speak.
Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the work environment etc.
Tip 4 : Since everybody in the interview panel is from tech background, here too you can expect some technical questions. No coding in most of the cases but some discussions over the design can surely happen.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Software Developer
3 rounds | 6 problems
Interviewed by Zoho Corporation
1550 views
0 comments
0 upvotes
company logo
Software Developer
5 rounds | 5 problems
Interviewed by Zoho Corporation
0 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 2 problems
Interviewed by Zoho Corporation
0 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 4 problems
Interviewed by Zoho Corporation
2007 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
5 rounds | 14 problems
Interviewed by Microsoft
3931 views
1 comments
0 upvotes
company logo
Software Developer
6 rounds | 12 problems
Interviewed by SAP Labs
2806 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 3 problems
Interviewed by Amazon
1133 views
0 comments
0 upvotes