Zoho interview for 2 years Experienced Java 4) To find the max path in a 2d array.
You will start
from the first element and you have to reach the
1st round was based on java and c, test consists of last element. You can only go rightwards and
30 conceptual questions to be completed in 90 downwards.
mins. Questions like worst case of merge sort,
static concepts, inheritance concepts, if space is an I/p-
issue which sorting we will use, no of queue needs
to be there to implement stack etc 10 20
2nd round was totally programming. In 3 hours we 4 3
had to finish 5 questions.
O/p – path followed 10 – 20 – 3
1) Reversing the string without reversing the place
of delimiters and dont use String manipulation. Sum is 33.
2) Given a no, you have to tell whether the binary
digits generated are palindrome or not. Array Zoho Corp Interview Experience (On-Campus)
cannot be used.
3) Pattern generator if no given are even- Round 1 (Written Test): Pen and Paper test on C &
I/p-4 C++ Language and Logical questions (Quantitative
Aptitude and Reasoning). C & C++ Language
O/p- questions based on pointer, recursion (Duration-2
hrs)
4444
C & C++ Language : C & C++ and 10 questions (1
4334 mark each)
4334 Advanced C & C++ Language : C & C++ and 10
questions(2 marks each)
4444
Logical Questions : Quantitative Aptitude and
I/p – 6 Reasoning(1 mark each)
O/p- *Note: It was not a MCQ Test we have to write the
Answers for every questions for C & C++ Language
666666 we have to write the output there was no negative
marking for wrong answers.
655556
Round 2 (Competitive coding): It was a offline test
on our campus lab . it consists 5 questions. Even if
you solve 3 you will get into next round. They want
654456 Clarity, Quality, Boundary Condition, Efficiency
(Any Language you can use its on you).(Duration-3
654456 hrs)
655556 1 : https://www.geeksforgeeks.org/job-
sequencing-problem-set-1-greedy-algorithm/
666666 2 : https://www.geeksforgeeks.org/longest-
increasing-subsequence-dp-3/
3 : https://www.geeksforgeeks.org/search-a-word- number of players are odd then the last one gets
in-a-2d-grid-of-characters/\ bonus point 1 we have to display the winner of
each match with both player at every round we
4 : ATM Machine Problem given notes of 1000, have to display score of every player, and we have
500, 100, 50, 20, 10(Number of notes given at the to assign match according to there score and once
starting point and we have to N transactions if two player played a match they are not allowed to
amount present return the amount present in ATM play match in the same pair we have to display the
decrease count of notes and if not present then winner of the “Chess Tournament” and also the
display “no sufficient amount”) cumulative score (bonus points are not allowed to
add).(Duration-3 hrs)
A Technical team Member is there you can discuss
if you have any problem they can explain problem
to you if require.
5 : Given the Text and we have to find the Pattern
They can ask anything from your code so prepared
? ->means one characters are missing with all your concepts .’
* -> means multiple characters are missing Once i completed all modules i shown it to a
Technical team Member, he asked me some
Example: questions from code, he wants me to explain the
code i explain full code step by step with
Text Pattern mentioning all the Object Oriented Programming
Output Concepts. Then at the same place he asked me
some question related to my Projects that done in
baaabab baaa?ab my academics.some other questions from my
TRUE resume, and also some HR Questions like (about
family member, about parents occupation, native
baaabab b*ab place )
TRUE
*Note:Try to use Object Oriented Programming
baaabab *ab Concepts and Data Structure . your code should be
TRUE clean can be easy to understand. try to show every
module once you complete it, Intersection with
baaabab ba?ab member is very useful
FALSE
Round 4(HR Interview): It was a very short
*Note: Try to avoid built in function, try to use best interview round a HR member was there in the
approach . panel he asked me some questions about family
and why i choose MCA after B.Sc., My Dream
Company, where i want to see my self after 5
Round 3 (Advanced Coding Round): My task was to years, and are you comfortable in South India
implement “Chess Tournament” in which they gave because i am from north, have you visited Chennai,
four modules. implementation of all four modules What is service based company and what is
are important. Given the number of players we product based company, then he asked if i have
have to conduct matches in pair we have to create any question i asked few questions then he asked
a random method for match if ‘player 1’ wins gave me to wait out side . (Duration- 15 minutes)
1 point else gave it to ‘player 2’ if there is a Tie Zoho Interview Experience (On-Campus)
then both ‘player 1 ‘ and ‘player 2’ got 0.5 point if
Round 1: Pen and Paper test on Aptitude and C, logical puzzles. Technical Aptitude dealt more with
C++ Fill in the blanks ( mainly focused on tracing “operator precedence”, “pointers”, “iterations”,
Recursions and Pointers ). Duration – 1:30 hrs “dynamic memory allocations”.
C and C++ 10 questions 1 mark each Second Round: (Normal Programming round)
Advanced C and C++ 5 questions 2 marks each 1. Print the word with odd letters as
Aptitude 10 questions 1 mark each
Around 1500 students appeared out of which only P M
250 got selected for next round. R A
O R
Round 2: Competitive coding in our campus labs G
offline. Duration – 3 to 5 hours O R
R A
There are five questions to solve.Even if you solve 3 P M
you will get into next round.Anyone can solve 2 2. Given a set of numbers like <10, 36,
questions so question selection is important 54,89,12> we want to find sum of weights based on
here.They observe the following in code : the following conditions
1. 5 if a perfect square
Quality 2. 4 if multiple of 4 and divisible by 6
Modularity 3. 3 if even number
Boundary test cases
Efficiency And sort the numbers based on the weight and
The questions range is hacker-rank’s medium level print it as follows
and some are easy.No language restriction but Java
is preferred.Some invigilators won’t accept to use <10,its_weight>,<36,its weight><89,its weight>
inbuilt functions and libraries.
Should display the numbers based on increasing
order.
Round 3: System Design and
Development.Duration – 3 to 5 hours 3. Save the string
“WELCOMETOZOHOCORPORATION” in a two
Our task was to implement Kanzo Interpreter .It’s dimensional array and search for substring like
basically 5 Levels, in each level we have to build a “too” in the two dimensional string both from left
module which leads to final task. to right and from top to bottom.
Modularity of code is very important w e L C O
Cleanliness of code M E T O Z
Boundary Conditions O H O C O
They won’t expect complete implementation, they R P O R A
observe the approach.Chances for next round are T I O n
very high if the mentor likes your code.Again And print the start and ending index as
language is not a restriction but Java is preferred
and expected by them. Start index : <1,2>
Zoho Interview | Set 1 (On-Campus) End index: <3, 2>
First Round: (Aptitude written round)
This round consisted of two sections “Reasoning 4. Given a 9×9 sudoku we have to evaluate it
Aptitude” and “Technical Aptitude”. Reasoning for its correctness. We have to check both the sub
section was more like puzzles so do concentrate on
matrix correctness and the whole sudoku
correctness. Around 150 students shortlisted for this round. It
was a local machine coding round. A staff will be
5. Given a two dimensional array of string like assigned to a group of 5 students. He made note of
the time took for solving each question. There was
<”luke”, “shaw”> totally 7 questions and I solved 4 questions and did
<”wayne”, “rooney”> not complete the 5th question.
<”rooney”, “ronaldo”>
<”shaw”, “rooney”> 1) Alternate sorting: Given an array of integers,
Where the first string is “child”, second string is rearrange the array in such a way that the first
“Father”. And given “ronaldo” we have to find his element is first maximum and second element is
no of grandchildren Here “ronaldo” has 2 first minimum.
grandchildren. So our output should be 2.
Eg.) Input : {1, 2, 3, 4, 5, 6, 7}
Third Round: (Advanced Programming Round) Output : {7, 1, 6, 2, 5, 3, 4}
Here they asked us to create a “Railway reservation 2) Remove unbalanced parentheses in a given
system” and gave us 4 modules. The modules expression.
were:
1. Booking Eg.) Input : ((abc)((de))
2. Availability checking Output : ((abc)(de))
3. Cancellation
4. Prepare chart Input : (((ab)
We were asked to create the modules for Output : (ab)
representing each data first and to continue with 3) Form a number system with only 3 and 4. Find
the implementation phase. the nth number of the number system.
Eg.) The numbers are: 3, 4, 33, 34, 43, 44, 333, 334,
Fourth Round: (Technical Round) 343, 344, 433, 434, 443, 444, 3333, 3334, 3343,
Technical question which revolved around “data 3344, 3433, 3434, 3443, 3444 ….
structures” and “OOPS”
4) Check whether a given mathematical expression
Fifth Round: (HR round) is valid.
Some general hr questions asked mainly about our
projects and about certifications if we had one. Eg.) Input : (a+b)(a*b)
Output : Valid
Zoho Interview | Set 2 (On-Campus)
Recently Zoho visited for the campus placement. I Input : (ab)(ab+)
would like to share my experience to Output : Invalid
geeksforgeeks because of which I got this offer.
Thank you geekforgeeks 🙂 Input : ((a+b)
Zoho On Campus Placement Process Output : Invalid
I don’t remember the 5th question.
1) First Round : Written
3) Third Round : Advanced Coding
40 C output questions. 2 Hours. A matrix game was given with 5 rules. We were
30 1Mark and 10 2Mark questions. IT WAS NOT asked to implement each of the rules separately.
MCQ. The questions were challenging and covered
all C concepts.
R3 | - - - |
2) Second Round : Coding R2 | - - - |
R1 | - - - | |- - -|
C1 C2 C3 |X - X|
Each of the 9 cells can either be empty or filled |- - -|
with an atom. R3, R2, R1 are the rays that originate R
from the left. C1, C2, C3 are the rays that originate
from the bottom of the box. Input ray: R2
|- X -|
Input : Position of the atoms and the rays that gets R |- - -|
originated from the outside of the box. |- X -|
Rule 5:
Eg.) 3 The deflection of rays should happen in the order
31 of the input rays.
22
13 Input Rays: R3, R2, C1, C3
3 H|- X -|
R3 C1 C3 R2 | - - - | C3
|- - -|
Output : Print the box. R2 C3
Rule 1: The final task was to implement these rules for
A ray that has an atom in its path should print ‘H’ dynamic matrix size.
(Hit) If it does not have any atoms in its path, the
ray should pass to the other side.
Input : no of rows, no of columns
C1 C3 Eg.) 4 4 (row & column)
R3 | - - - | R3 2 (No of atoms)
H |- X -| 4 4 (Position of atom)
R1 | - - - | R1 2 2 (Position of atom)
C1 H C3 2 (No of rays)
Rule 2 & 3: R4 C2 (Ray number)
A ray that has an atom in its diagonal adjacent
position should refract. H |- - - X|
|- - - -|
H |- - -| |- X - -|
H |X - -| |- - - -|
R |- X -| H
R H R The final task was very confusing and it had to
handle all the cases. There are chances for a ray to
Input rays: R1, R2, C3 end at the starting position if the number of rows
and columns are more than 5.
H |- X -|
R2 | - - - | C3 4) Fourth Round : Technical Interview
|- - -| Basic questions from hashing, searching, sorting,
R2 C3 JVM, OS, Threads. In-depth questions from the
Rule 4: projects that I mentioned in my resume. So don’t
A ray that has atoms in both of the diagonal just add projects that you are not thorough enough
adjacent positions should reflect back. to answer all questions.
And a simple puzzle : (x-a)(x-b)(x-c)….(x-z) = ? 🙂
Input ray: C2
5) Fifth Round : HR 2 4
General HR questions like why zoho, how do you 3
see yourself after 5 years, why did you choose 2 4
CS/IT stream, tell me about your leadership skills 1 5
etc. Eg 2: Input: geeksforgeeks
Output:
Zoho Interview | Set 3 (Off-Campus) g s
Hi!! I recently attended ZOHO off-campus drive. e k
ROUND 1: WRITTEN e e
APTITUDE(1 hr and 20 minutes-20 questions): k e
Problems on average, probability, time & distance, s g
alligation&mixture,ratio, HCF & LCM and few a f r
puzzles. o
f r
TECHNICAL(45 minutes-10 questions): Output for C s g
questions. Practice questions in geekquiz.com and k e
C output questions in geeksforgeeks.org. Questions e e
in pointers, strings, matrix etc. e k
g s
Nearly 60 students were selected out of 600
candidates. They didn’t select the top 60. They had
a cutoff and those who cleared the cutoff were 4. Find if a String2 is substring of String1. If it is,
called for the next round return the index of the first occurrence. else return
-1.
ROUND 2: SIMPLE CODING(3 hours)
Eg 1:Input:
1. Write a program to give the following output for String 1: test123string
the given input String 2: 123
Output: 4
Eg 1: Input: a1b10 Eg 2: Input:
Output: abbbbbbbbbb String 1: testing12
Eg: 2: Input: b3c6d15 String 2: 1234
Output: bbbccccccddddddddddddddd Output: -1
The number varies from 1 to 99. 5. Given two sorted arrays, merge them such that
2. Write a program to sort the elements in odd the elements are not repeated
positions in descending order and elements in
ascending order Eg 1: Input:
Array 1: 2,4,5,6,7,9,10,13
Eg 1: Input: 13,2 4,15,12,10,5 Array 2: 2,3,4,5,6,7,8,9,11,15
Output: 13,2,12,10,5,15,4 Output:
Eg 2: Input: 1,2,3,4,5,6,7,8,9 Merged array: 2,3,4,5,6,7,8,9,10,11,13,15
Output: 9,2,7,4,5,6,3,8,1 6. Using Recursion reverse the string such as
3. Write a program to print the following output for
the given input. You can assume the string is of odd Eg 1: Input: one two three
length Output: three two one
Eg 2: Input: I love india
Eg 1: Input: 12345 Output: india love I
Output:
1 5
19 cleared this round and they were called for the Drop Point: D
next round. The next round took place on the next Pickup Time: 9
day
Output 1:
ROUND 3: COMPLEX CODING(3 hours) Taxi can be allotted.
Taxi-2 is allotted
1) Design a Call taxi booking application (Note: Since Taxi-1 would have completed its
-There are n number of taxi’s. For simplicity, journey when second booking is done, so Taxi-2
assume 4. But it should work for any number of from nearest point A which is free is allocated)
taxi’s.
-The are 6 points(A,B,C,D,E,F)
-All the points are in a straight line, and each point Input 3:
is 15kms away from the adjacent points. Customer ID: 3
-It takes 60 mins to travel from one point to Pickup Point: B
another Drop Point: C
-Each taxi charges Rs.100 minimum for the first 5 Pickup Time: 12
kilometers and Rs.10 for the subsequent
kilometers. Output 1:
-For simplicity, time can be entered as absolute Taxi can be allotted.
time. Eg: 9hrs, 15hrs etc. Taxi-1 is allotted
-All taxi’s are initially stationed at A. 2) Display the Taxi details
-When a customer books a Taxi, a free taxi at that
point is allocated
-If no free taxi is available at that point, a free taxi Taxi No: Total Earnings:
at the nearest point is allocated. BookingID CustomerID From To PickupTime
-If two taxi’s are free at the same point, one with DropTime Amount
lower earning is allocated
-Note that the taxi only charges the customer from Output:
the pickup point to the drop point. Not the Taxi-1 Total Earnings: Rs. 400
distance it travels from an adjacent point to pickup
the customer. 1 1 A B 9 10 200
-If no taxi is free at that time, booking is rejected 3 3 B C 12 13 200
Design modules for Taxi-2 Total Earnings: Rs. 350
2 2 B D 9 11 350
1) Call taxi booking These were just sample inputs. It should work for
Input 1: any input that they give.
Customer ID: 1 Those who finished both the modules within 3
Pickup Point: A hours and if it worked for all the inputs they give,
Drop Point: B those candidates were given extra modules to work
Pickup Time: 9 with.
Output 1: Only 9 candidates made it to the next round
Taxi can be allotted.
Taxi-1 is allotted ROUND 4 : FIRST FACE-TO-FACE(TECHNICAL)
Questions were on project, c, oops concepts, DBMS
Input 2: and a few puzzles. They might ask you more on
Customer ID: 2 new scenarios relating to your project.
Pickup Point: B
ROUND 5: SECOND FACE-TO-FACE(TECHNICAL) 3,5,7,9,11,13
Question were on c, c++, java(like threads,
synchronization etc.), Discussion about questions 2) To find the factors of the numbers given in an
from first, second and third round. He even asked array and to sort the numbers in descending order
me to solve a few questions from the first round. according to the factors present in it.
He gave me a few puzzles to solve Input:
Given array : 8, 2, 3, 12, 16
ROUND 6: FIRST GENERAL HR Output:
General questions about my pros and cons and 12, 16, 8, 2, 3
discussion on my resume(be thorough with your
resume). She finally asked me if I had any queries. 3) To output the number in words (0-999)
Input: 234
ROUND 7: SECOND GENERAL HR Output: Two hundred and Thirty Four
She asked me some family details and gave some
scenarios and asked me to what I will do in such 4) To find the print the pattern:
situations(like if I am given the power to change 3 Ip: n=5
things in india, what all will I change) and a few Op:
general questions. 1
11
Zoho Interview | Set 4 21
1211
Round one: 111221
Note: They have two patterns, for me they asked
programming pattern, which is really tough. 5) A man his driving car from home to office with X
Time: 2.15 hrs petrol. There are N number of petrol bunks in the
40 Questions full of programming, first 10 city with only few capacities and each petrol is
questions have half mark, next 30 Questions have 1 located in different places For one km one liter will
mark, no Compilation Errors. consume. So he fill up petrol in his petrol tank in
1) First 10 questions is to find the output of each petrol bunks. Output the remaining petrol if
program which contains full of loops, loops inside he has or tell him that he cannot travel if he is out
loops. of petrol.
2) Next 30 Questions has five parts Input:
….a) To find the input of the program, output will Petrol in car: 2 Liters
be given. Petrol bunks: A B C
….b) To find the error in logic and correct it, to Distance from petrol each petrol bunks: 1, 5, 3
provide the expected output. Capacities of each petrol bunk: 6, 4, 2
….c) To find which two program gives the same Output:
result among given four programs. Remaining petrol in car is 5 liters
….d) To find the loop condition for the desired
output. Level two:
….e) To find the order of function in execution.. 1) Print the given pattern:
Input:
Round two: N= 3, M=3
Level One: Output:
1) To find the odd numbers in between the range. XXX
Input: X0X
2 XXX
15
Output: Input:
N=4 M=5 Output: ALL
Output:
XXXX 2) Input:
X00X Number of elements in set1: 4
X00X Elements are: 9, 9, 9, 9
X00X Number of elements in set 2: 3
XXXX Elements are: 1,1,1
Output:
Input: 1, 0, 1, 1, 0
N=6 M=7 Input:
XXXXXX Number of elements in set1: 11
X0000X Elements are: 7,2,3,4,5,3,1,2,7,2,8
X0XX0X Number of elements in set 2: 3
X0XX0X Elements are: 1,2,3
X0XX0X Output: 7,2,3,4,5,3,1,2,8,5,1
X0000X
XXXXXX Round three:
Real time programming and analysis:
2) To find the number of groups and output the Note: Showing output does matter need to show
groups: the output as soon as possible. And also need to
Explanation: To find the sum of the elements in the solve the constraints very fast, since you know
groups and that sum should be divisible by input X what you have done in your program. After
and the groups should be limited to range with X finishing the program always explain the logic
numbers. behind it and the constraints about the processing
If X is 3, then the group should have only 2 and how you solved those constraints to the
elements and 3 elements from the array whose technical people.
sum is divisible by 3. 1) To form a structure which has few elements:
Input:
Array: 3, 9, 7, 4, 6, 8 struct product {
X: 3 char productname[20];
Output: int product_price;
3, 9 int product_id;
3, 6 }
9, 6 Get the product name, price and id and display the
3, 9, 6 product name and price in descending of the price.
No of groups: 4
2) For the same above structure, now add another
Level three: structure which is the category. That category will
1) To output the given string for the given input have products in it.
which is an integer.
Input: 1 Struct category
Output: A {
Input: 26 char category_name[20];
Output: Z int cat_id;
Input : 27 }
Output: AA According the category get the product name,
Input: 28: product price and id, then display all the products
Output: AB category wise in descending order.
Input: 1000
3) For the same structure which as category and With the starting and ending time of work given
product, get the category id from the user in the find the minimum no of workers needed
product structure and save to the category list.
Then display them all in category wise. Start time end time
1230 0130
4) A sheet full of data will be given with inventory 1200 0100
stock list, which as different categories and 1600 1700
different products as input with category capacity Output:
and product availability in the structure. Now we 2
need to add a new category or new product with
capacity and availability. Need to check whether Program 3:
the product availability is exceeding the category Find the union intersection of two list and also find
capacity, if yes the output rack is full or else tell except (remove even elements from list1 and odd
how much free space is available and add the elements from list2)
product to list. Input
5) Constraints in the above in question will be List 1: 1,3,4,5,6,8,9
given, need to solve all the constraints, so that the List 2: 1, 5,8,9,2
Technical HR gets satisfied.
Union: 1, 3,4,5,6,8,9,2
After these rounds, if they get satisfied, they will Intersection: 1,5,8,9
call you for Technical HR, followed by General HR. Except: 1, 3, 5,9,8,2
If you solved every single question and you were Program 4:
really fast in problem solving, then HR interview
will be easy. Or else HR interview will be very tough Rotate the matrix elements
especially the Technical HR (The Technical HR For 3*3 matrix
round as lots of logical questions) Input
1 2 3
Zoho Interview | Set 5 (On-Campus Drive) 4 5 6
7 8 9
Round 1:
Questions based on aptitude (10) and c program Output:
output (20) 4 1 2
Time 2hr. 7 5 3
Round 2: 8 9 6
5 problem given we have to solve at least 3
Program 1: For 4*4 matrix
Help john to find new friends in social network Input:
Input: 1 2 3 4
3 5 6 7 8
Mani 3 ram raj guna 9 10 11 12
Ram 2 kumar Kishore 13 14 15 16
Mughil 3 praveen Naveen Ramesh
Output:
Output: 5 1 2 3
Raj guna kumar Kishore praveen Naveen Ramesh 9 10 6 4
13 11 7 8
Program 2: 14 15 16 12
Input: Program 5:
Find the largest possible prime number with given Q2. Given a string of integers find out all the
no possible words that can made out of it in
Input continuous order. Eg: 11112
5
4691 ans: AAAAB
Output: AKAB
9461 AAKB
AAAL etc.
Round 3:
For one batch of people
Basic programs like pattern printing Q3: Find whether a given number is magic number
1 or not. It is something which gives same digits even
22 after cubing it.
333
4444 Q4: something related to rotating an array.
And
1 Q5: Given two numbers and an operation either +
24 or – , perform the operation.
357 Now remove any zeros if present in the two
6 8 10 12 numbers and perform an operation. See if the
result obtained is same or not after removing
Others had app development zero’s in the original result.
Scenario: text editor
Only 40 characters per line and words should be Third round: 5 questions based on maze.
wrapped if they brake
Also perform insert delete operations Q1: Given a matrix dimension find the shortest
path between two points.
Round 4:
Tech hr: Topics revolved around OOPS and java Q2: shortest path between two points and a
thread and Ubuntu commands. monster is present. So we have to avoid the
monster and take a shortest path or die.
Round 5:
General hr: As usual stuffs like personal info and Q3: print the maze step by step.
about projects and why zoho?
Q4: same as Q2 but trigger is present so we can
Zoho Interview | Set 6 (On-Campus Drive) take the trigger to shoot the monster anywhere in
the maze.
Zoho visited our campus in the month of July.
Q5: this is the tricky part. There are many holes in
First round: 15 apti and 15 c output questions. No between. we should avoid them and take the
negative marking and no multiple options. Believe shortest path.
me, this is the only way to avoid people coming
into the next rounds based on luck. Fourth Round: Tech interview. Mostly who got
Second round: 5 programming questions, they selected to the interview got placed. Simple
were easy questions, puzzles, oops concepts, some general os
and other computer science related questions.
Q1. Given dates in day,month, year order sort
them.
Fifth round: Tech interview. Questions on Day 2:
projects,internship and again simple questions on Round 3:
oops, dbms etc.
pure programming round.
HR round: This is just a formality.
We were asked to design a code (its almost a game
Zoho Interview | Set 7 (On-Campus Drive) without any graphics)
the question shall be divided into modules and
Here is my experience in zoho campus drive. It was each shall be verified for 7 to 8 test cases. when
a two day process first module is done only then u can get the second
and important thing is all the modules are inter
Day 1: related.
Round 1: Written Test our question was a dungeon game.
One and half hour time containing 15 aptitude
questions and 15 c programming questions. An adventurer, A monster, A trigger, A treasure,
Pits these are the components.
In aptitude all topics like time and work, ratio The size and location shall be given in run time.
proportion, mixtures, work , boats and streams, Adventurer must reach treasure fast than monster
number sequences were touched. They were else he dies (Hint: use absolute of distance)
pretty easy.
around 5 to 6 modules were present and 3 hour
When comes to C.. the questions were basically on time.
finding the output of the given code.. u need to
have strong fundamentals on pointers, strings, Round 4:
preprocessor directives, enums, unions and
structures. A hr interview along with 2 technical interviews
Round 2: the unsolved questions related to apti or program
in previous rounds shall be asked along with some
A 3 hour programming round. (offline method) puzzles, areas of interest, why zoho ?
Once u complete a question , it shall be verified for
given sample test cases and 4 or 5 pre verified test once u clear third round there is a 75% probability
cases. To get the next question every test case has that u are in.
to be solved. The questions were challenging and Zoho Interview | Set 8 (On-Campus)
explanation was good
ROUND 1: Aptitude questions – both Quantitative
the various questions were aptitude and in programming. they were NOT
1. Cyclic number verification MCQs
2. Sorting dates
3. write a code to solve given mathematical ROUND 2:
expression 1. Arrange the numbers in descending order
4. generation of unique number from any random depending on the no. of factors available for each
number number.
5. given a number u need to print all combination I/P: {6,8,9}
of aphabets for that number O/P: {8,6,9} or {6,8,9}
Reason: factors of 8 (1,2,4,8), factors of 6 (1,2,3,6),
the results were announced around night factors of 9 (1,3,9).
2. Two strings of equal length are given print the Description:
mismatched ones. There were altogether 20 questions from C
I/P: a b c d e f g h i programs and 10 questions from logical aptitude.
abdeeggii Questions from C programming basically focus on
O/P: cd , de //when two char are mismatched they pointers (single pointer and pointer-to-pointer)
should be printed together. manipulation, 75% of questions from pointers and
f,g rest from arrays and strings manipulation. The
h,i questions from logical aptitude was of moderate
level difficulty ranging from probability to speed
3. Get a number and check whether its palindrome distance time calculations. Both section same
do not use arrays and string manipulations marks weightage. I solved 13 from C and 7 from
I/P: 5 apti.
O/P: 101-Palindrome
Reason: binary representation of 5 is 101 & it is a Second Round:
palindrome. They shortlisted approx 40 students for the second
I/P: 10 round. The mail came after 15 days from first
O/P: Binary representation of 10 is 1010 –Not a round. It was coding round, programming
palindrome questions on their laptops in groups of 10 students
in each room. Test duration was of 3 hours. The
4. For any given matrix find the path from the start test was on 1 Feb 2016.
to the end which gives the maximum sum. Traverse Description:
only right or down. There were 5 questions. The instructor will check
Example: starting index is 15 (left top) and ending the code after solving each question, they may ask
index is 10 (bottom right) for reducing time/ space complexity, be ready for
15 25 30 it.
45 25 60
70 75 10 1. Spiral printing.
O/P:15->45->70->75->10 sum is 215 O/P
4444444
5. [ [‘Lava’ , ‘kusha] , 4333334
[‘Rama’ , ‘Lava’] , 4322234
[‘Lava ‘,’Ravanan’] , 4321234
[‘Abi’ , ‘Lava’] ] 4322234
First string is the child & the second string is the 4333334
parent. Print the no. of grand children available for 4444444
the
given I/P. 2. Sort the array alternately i.e first element should
I/P: Ravanan be max value, second min value, third second max,
O/P: 2 third second min. Eg: arr[] = {1,2,3,4,5,6,7} O/P:
{7,1,6,2,5,3,4} Note: no extra space and time
Zoho Interview | Set 8 (Off-Campus Drive for complexity should be less;
Project Trainee)
3. Print all the substring of the given string.
First Round:
Written, pen paper based. The candidate has to 4. Print the numbers which are mismatched from
write the output for C programs and basic aptitude two array. Arr1 = {a b c d e f g h i}
questions. Total 30 questions. Test duration was of arr2 ={ a b d e e g g i i}, O/P- cd, de, f, g, h, i.
3 hours.
5. Print all possible combinations from the given around 600 students. Only 72 got selected for the
string. next round
The candidate who solved at least four out five are Round II & III: The next two rounds have a set of
selected for next advance coding round. questions to be coded in c language.
Third Round: Round II has 11 questions i.e. 1(a)-1(f), 2, 3(a), 3(b),
Third round was followed immediately after 3(c), 3(d). I did my best to reach up to 3(b) and
completion of second round. 50% candidates were qualified for the third round. Out of 72, 22 selected
selected for this round which consists of advance for the next round.
programming question. One full fledge project
consist of 7 modules which has to be done on their Round III is yet another round of coding. It started
laptops. Test duration was of 3 hours. Test was on at 9:30am and continued till 9:30pm with a break
1 Feb 2016. of 1 hour for lunch. The total number of questions
are not known but I finished till 5th question when
Description: I got a call for my TR round.
There was one question for each candidate.
Round IV: This round is a typical technical round
1. Develop a railway project which consist of 7 wherein I’m interviewed about my project details,
requirements modules. The modules includes my coding skills as well as my web designing skills.
booking of railway tickets, cancellation, route The questions were on Java, C, HTML, CSS, basic
option, fare calculations, allotting/dealloting berth, PHP.
coach position.
Some other questions given to students were Round V: It’s a typical HR round where I’m asked to
online billing and shopping. The instructor may ask solve some logical puzzles. Some basic HR
to change the requirements run time, you should questions are asked along with few questions on
be ready for it. Java.
Zoho Interview Experience | Set 10 (Off-Campus
Fourth Round: Drive)
Fourth round was followed immediately after
completion of third round. It was face to face The Following rounds were held.
interview round in which technical and HR
questions were asked. Interview duration was of 20 Round 1: The first round was held on Jan 10, 2016.
mins for each student. It was on same day. The round one contained 30 questions with a
Description: duration of 3 hours. There were 20 c apps and 10
This round consist of face to face interview, they logical apps. The c apps consisted of mostly of
asked questions from Java collection framework pointers. The remaining were questions from
and core java. Questions related to course project arrays loops and macro definitions and function
was also asked. Finally, all the round were finished calls.
at 8 pm.
Round 2: The remaining rounds were held on Feb
Zoho Interview Experience | Set 9 1, 2016. The round 2 was programming round with
The interview took place for 3 days, consisting of 5 5 questions.
rounds. The procedure is as follows:
Question 1: Given two sorted arrays output a
Round I: This round is a basic round as usual for any merged array without duplicates.
interview. It is an offline written test consisting of Array1: [1, 2, 3, 6, 9]
40 questions i.e. 30questions related to c language Array2: [2, 4, 5, 10]
and 10 on aptitude. The round was taken by Merged Array: [1, 2, 3, 4, 5, 6, 9, 10]
to the next round just because of the appropriate
Question 2: Given a sliding window of size k print data structure and logic the applied.
the maximum of the numbers under the sliding
window. Round 3:
Example: Consider a sliding window of size k equals This round contained of advance programing but
3. Let the array be [3,2,7,6,5,1,2,3,4] the output the logics were easy but they gave more
should print 7 as the first output as first window importance to the modularity, Object oriented
contains {3,2,7} and second window contains approach and things like that. They asked to create
{2,7,6} and so on and the final output is a simple console based application for e
{7,7,7,6,5,3,4} commerce. Two user’s admin and customer with
Question 3: Given a array with n elements print the different functionalities were given. The Customer
number of occurrences of that number each has to buy items then if discount is applicable for
number in that array. The order of number doesn’t that product he can redeem it and he can also view
matter. You can reorder the elements. the Order history. The Admin can add new items
Example : [2,1,3,2,2,5,8,9,8] and so on.
Output:
2-3 Round 4:
1-1 This round concentrated on technical interview and
3-1 tested how deep you are goo in the subject. They
5-1 tested whether I am good at what I have put on my
8-2 resume. Two staffs interviewed me separately and
9-1 it lasted for approximately 1 and a half hours.
Question 4: Enter two strings from command line Round 5:
and check whether any substring present in first This round was HR round and just the background
string that follows the pattern of second sting.. details about myself were asked. It lasted for ten
They asked to implement regular expressions for * minutes.
and backslash without built in functions.
Zoho Interview Experience | Set 11 (On-Campus)
“abcd” “a*cd” answer : yes
“aaaa” “a*” answer : yes It was an on campus recruitment.
“a*c” “a\*c” answer:yes
“adsd” “ad” answer:no Round 1:
It had 30 MCQ questions. (20 questions from C
Question 5: They gave a passage and the output aptitude and 10 from general aptitude). It was a
should be printing out the number of occurrence of written round, which lasted for 2 hours.
each word and the indices it occurs without using
string matching Round 2:
It was a programming round, which had 6
The passage given was “jana Gana Mana” and so questions. The questions were solvable if one has
on.. and we have to print number of jana and it’s some basic knowledge on fundamentals of
indices.i.e at which position it occurs. programming. It was not conducted in any online
judges/tools. The code/output were verified
I have completed first and 5th program. The manually. Those who solved 4 questions were
programs were not of equal weight-age. 4th and selected. Also those solved 3 questions and got the
5th were given more weight-age. They gave approaches right for any other question were also
importance with the way of approach. Another guy selected.
solved the first 4 programs but he is not selected
because of his inefficient code. And I got selected Round 3:
It was application development kind of
programming round where we were asked to eg) i/p a = 20;b = 100;
develop any application which supports some list o/p 25,36,49,64,81,100
of use cases. We were asked banking application 2.Alternately sort an unsorted array..
with 12 use cases. In this round, the design which
we create and the object oriented concepts which eg) i/p {5,2,8,7,4,3,9}
we use were monitored. Preferably we were asked o/p {9,2,8,3,7,4,5}
to use an object oriented language to code, but 3. Given an array and a threshold value find the o/p
those were not good in C++ or java, were also
allowed to use procedural language like C. eg) i/p {5,8,10,13,6,2};threshold = 3;
o/p count = 17
Round 4: explanation:
It was a face to face technical interview where the Number parts counts
interviewer will test your understanding on basics 5 {3,2} 2
of core subjects of CS. For those who were not 8 {3,3,2} 3
from Computer science or Information technology 10 {3,3,3,1} 4
department, they asked only fundamentals of 13 {3,3,3,3,1} 5
programming and general aptitude, logic 6 {3,3} 2
questions. 2 {2} 1
4.a. Given two binary numbers add the two
Round 5: numbers in binary form without converting them
It was HR round. It was concluding round for to decimal value.
formality. It was more like a friendly chat for me.
eg) a = 1010 b = 11001
Zoho Interview Experience | Set 12 (On-Campus) o/p 100011
b.The two numbers were given in base n
Recently ZOHO visited our campus for recruitment eg) a = 123 b = 13 n = 4
and i would like to share my experience. o/p 202
Thanks to geeksforgeeks which contributed to 5.Write a program to print the below pattern
most of my preparations..
for n = 6
Round 1 : TIME : 2hrs 1 7 12 16 19 21
I was expecting an aptitude written round .But they 2 8 13 17 20
gave us 30 flowchart and asked us to go through 3 9 14 18
each flowchart and the questions were based on 4 10 15
the flowchart..Questions included finding the o/p 5 11
of the flowchart , find the missing statement which 6
when added produces the given o/p..If you 6.Given bigger NxN matrix and a smaller MxM
concentrate and go through the flowchart it should matrix print TRUE if the smaller matrix can be
be easy to crack the first round.. found in the bigger matrix else print FALSE
Round 2: TIME : 3hrs 7.Given two matrices a and b both of size NxN find
They shortlisted 150 candidates from the first if matrix a can be transformed to matrix b by
round..This was a programming round and rotating it 90deg , 180deg , 270deg if so print TRUE
consisted of straightforward questions.. else print FALSE
1.Given two numbers a and b both < 200 we have 8 In addition to the above question you have to
to find the square numbers which lie between a check if matrix a can be transformed by mirroring
and b(inclusive) vertically or horizontally to matrix b.
first day and the remaining rounds held on the
I solved 7 questions .. Those who solved more than second day.
5 were selected for the next round.
Round 1
Round 3 : TIME : 3hrs It contained 30 questions (20 C aptitude + 10
About 50 – 60 were shortlisted .. This round was general aptitude). All the questions are in fill the
also a programming round.. blanks format. No MCQs.
Questions were based of matrix
transformation.Each question was an extension of Round 2
the previous question in some way..There were 5
questions .. I solved only 2 🙂 But got selected for It contained 5 programming problems :
the next round , I think it was based on my
performance on all previous rounds.. You’re given an array. Print the elements of the
array which are greater than its previous elements
in the array.
Round 4: Input : 2, -3, -4, 5, 9, 7, 8 Output: 2 5 9You should
We had both HR and technical HR. solve this question in O(n) time.
In technical HR if they found out that a candidate You’re given an even number n. If n=4, you have to
was not sure on some topic the candidate was print the following pattern :44444334
asked questions on that topic for the rest of the 4334
round even after the candidate said he does not
know that concept . In my case it was DBMS 🙂 The 4444
round also consisted of 3 puzzles ..they were easy
to solve , i solved all of them.. If n=6, then the pattern should be like this :
In HR round we had a friendly chat ..They didn’t 666666
want candidates who were willing to quit the job
after a few years and go for higher studies( 655556
obviously )..I was asked about my family and my
hobbies.. 654456
After round 4 we had to wait for almost 5 hrs 654456
before the results were announced..There were 2
packages x and x+y.. I was offered the x package 655556
mostly because i didn’t do round 3 well but they
said that if we prove ourselves during the 666666
internship they would change the package to x+y
so looking forward to that 🙂 You’re given a number n. If write all the numbers
from 1 to n in a paper, we have to find the number
Overall it was a good experience and i really of characters written on the paper.For example if
appreciate ZOHO team for the amount of effort n=13, the output should be 18 if n = 101, the
they invested in the interview process each round output should be 195
was both challenging and enjoyable in its own way A number is called as binary-decimal if all the digits
in the number should be either ‘1’ or ‘0’. Any
Zoho Interview Experience | Set 13 (On-Campus) number can be written as a sum of binary-
decimals. Our task is to find the minimum number
The selection process is based on 5 rounds which of binary-decimals to represent a number.Input :
lasted for 2 days. Round 1 and Round 2 held on the 32Output : 10 11 11
Input : 120 only 2% of people survived. Hope it helps all. Good
luck.
Output : 10 110
You’re given a string as an input. You have to Zoho Interview Experience | Set 14 (On-Campus)
reverse the string by keeping the punctuation and
spaces. You have to modify the source string itself The selection process consists of 5 rounds and
with creating an another string. there were almost 350 people came for the
Input :A man, in the boat says : I see 1-2-3 in the process.
sky
Round 1:
Output :
This round consists of 15 c questions and 10
y kse, ht ni3 21ee slsy : a sta o-b-e ht nin amA aptitude questions and won’t be in MCQ format.
Questions from c will be bit more difficult and it
Level 3 : (Advanced programming) takes extreme understanding of c concepts to solve
it. They will cover arrays, strings, pointers and
We were asked to develop a mini-project ‘Invoice functions mostly (90 % of questions). Focus on
Management’ with the following modules : “output of c programs” in GeeksForGeeks and
GeeksQuiz.
1. Add a customer
There will be 28 sets and if you go through all sets
2. Add an invoice then it is more than enough to clear the test. When
it comes to aptitude questions, they will ask basic
3. Add items to an invoice questions and basic hands on at quants and logical
will get you through. They will give more priority to
4. List all customers c questions rather than aptitude questions. So,
focus on c part more. I cleared 11 c questions and 3
5. List all invoices aptitude questions. They called me after 1 week
and believe me there were only 27 people cleared
6. List all invoices of a customer this round.
7. Display the full details of an invoice Round 2:
Level 4: (Technical HR) This round consists of 6 competitive coding
questions and you need to solve at least 4 to get
Questions were mostly based on Database you through.
Management. The other areas include Data
Structures and Operating Systems. Some of the 1) Given a number, convert it into corresponding
example questions are : What is referential alphabet.
integrity, Explain outer joins : Left outer join and
right outer join, What are holes in OS etc.., Input Output
1 A
Level 5: (General HR) 26 Z
27 AA
Some blah blah questions. 676 ZZZ
2) Given a Roman numeral, find its corresponding
They also give me puzzles while I was solving level decimal value.
2 programming questions. After all these rounds
https://www.geeksforgeeks.org/converting-roman- Round 3:
numerals-decimal-lying-1-3999/ We were asked to design an application program
for n*n tic-tac-toe game. Here, you are expected to
3) Write a program to print all permutations of a code with proper standards and in a most
given string. Note here you need to take all optimized way. And, in this round you need to find
combinations as well, say for the input ABC the all the edge cases and corner cases yourself. The
output should be as follows: interviewers won’t help you if you miss anything.
So, make sure you covered all the cases before
Input: ABC showing output to the interviewers.
Output:
A https://www.geeksforgeeks.org/implementation-
BC of-tic-tac-toe-game/
AB AC BA BC CA CB
ABC ACB BCA BAC CBA CAB Only 2 people cleared this round.
4) Write a program to rotate an n*n matrix
90,180,270,360 degree. Round 4:
https://www.geeksforgeeks.org/inplace-rotate-
square-matrix-by-90-degrees/ is the solution for First of all, they asked me to explain the logic I have
rotating a matrix 90 degree. For rotating the matrix implemented for the previous application
180,270,360 degree, u need to call the same programming. Then, they asked me some oops
method 2,3,4 times based on the input. questions, static keyword, difference between
array list and linked list. Then they asked me to
5) https://www.geeksforgeeks.org/reverse-words- write a query for inner join, left join and right join.
in-a-given-string/ Finally, they asked me 2 puzzles to solve which are
as follows:
6) Write a program to convert a number into a
mono-digit number. 1)https://www.mathsisfun.com/puzzles/hourglasse
s-2-solution.htmlz
Conditions: 2)
a) You are allowed to add and subtract the http://www.geekinterview.com/question_details/4
consecutive digits (starting from left). 6800
b) You are allowed to do only one operation on a It was only me who cleared this round and the
digit. other one didn’t make it.
c) You cannot perform any operation on a resultant
digit of the previous operation. Round 5:
d) Your code should also find if a given number
cannot be converted to a mono digit number. HR round is just for formality and they asked me
some typical HR questions like tell me about
Input Output yourself, why zoho, will you go for higher studies,
72581 7(2+5)81 your salary expectation and finally they selected
77(8-1) me.
777
3962 cannot create a mono digit number Zoho Interview Experience | Set 15 (Off-Campus
8 people cleared this round. They didn’t see any Drive)
optimization in this round. Simply, completing 4 or
more questions will get you through to the next It was an off--campus drive. More than 1000
round. The interviewers helped us to find some people appeared for the drive.
rare corner cases too if we miss anything.
ROUND 1:
This round had 15 aptitude questions which were v y i v
easy. The hint is you have to think logically o r s e
and apply basic maths. And also 10 C output Dictionary = {van, zoho, love, are, is}
questions which were tough.
Only 15% of people survived for programming Output:
round. zoho
Those who didn’t clear first round went for Content love
Writing role. Is
ROUND 2: 5) Given a string, change the order of words in the
This round had 5 easy programming questions. string (last string should come first).
Should use RECURSION
1) Given an array, find the minimum of all the
greater numbers for each element in the
array. Sample: one two three
Output : three two one
Should solve atleast 3 problems……Around 30
Sample: students cleared this round.
Array : {2, 3, 7, -1, 8, 5, 11}
ROUND 3:
Output: This was an application development round. The
{2->3, 3->5, 7->8, -1->2, 8->11, 5->7, 11->} application was TOLL PAYMENT PROCESSING .
2) Find the largest sum contiguous subarray which They insisted us to do it in a object oriented
should not have negative numbers. We have to language. First they asked the design( what are all
print the sum and the corresponding array the classes and objects & what data structure do
elements which brought up the you use).
sum.
Sample: Application description:
Array : {-2, 7, 5, -1, 3, 2, 9, -7}
There are ‘n’ number of points in a highway out of
Output: which some points collect toll.
Sum : 14 Each toll has its own charging scheme according to
Elements : 3, 2, 9 the vehicles and whether or not they
3) Given a string, we have to reverse the string are a VIP user.
without changing the position of punctuations and If they are VIP user, 20% discount apply.
spaces. If the vehicle passes 3 toll gates, it has to pay in all
the 3 toll gates according to the
scheme of respective tolls.
Sample: house no : 123@ cbe There were 4 modules.
Output: ebc32 1o : nes@ uoh
4) Given a 2D grid of characters, you have to search 1. Given the details of vehicle type, start and
for all the words in a dictionary by destination……display the total toll paid during
moving only along two directions, either right or the journey and print the amount after applying
down. Print the word if it occurs. the discount.
2. Display the details of all the tolls…..like what are
Sample : all the vehicles(vehicle number) passed
a z o l that respective toll and the amount each vehicle
n x h o paid……and the total amount charged in
that toll. ROUND 6: GENERAL HR 2
Asked the same questions asked in HR 1….what
3. Display the details of all the vehicles …….like went wrong in all the previous
what are all the journeys did it take….the interviews….are you interested in higher
start and destination of the same……tolls it passed studies….if not why?…..what is your long term goal.
during that journey….amount paid in
that journey…..and the total amount paid by that Any finally 6 of us got selected 🙂
vehicle.
Zoho Interview Experience | Set 16
4. Assume the highway as a circular path……we
have to find the short route and identify Round-1 (aptitude test)
the tolls between that route and calculate the This was unlike other aptitude tests. It contained
amount. output based questions. Questions were mainly
based on logic and loops.
After this round , only 7 students survived for the
next round. Round-2(coding)
They gave questions one after the other. Initially it
was easy, then ,the difficulty level increased. The
ROUND 4: first one was to check whether a year is leap year
It was a technical round. and the last one was to sort numbers based on
It was more than an hour for me and it was very digits starting from most significant numbers. Eg:
tough. input-100 1 11 21 2 3. Output-1 100 11 2 21 3
Each question was a continuation of the previous
Questions were mainly on Java and DBMS. one, so its good if code is written as function.
How jdbc connects with database(steps)….why we Round-3
need a driver to do that…and also he asked This was also coding round. They asked us to
me to design that driver……how Resultset develop a train reservation system. Here also each
processes the result. question was continuation to the previous
one(better to write code as function).The task was
How will you query to get all people details from to write a program to book a ticket, cancel, add to
aadhar database….what are all the waitlist…. Some constraints were also given.
challenges?
Round-4(personal interview)
And some queries on JOINS. They Asked about classes, private constructors,
garbage collections, sql , puzzle(1,7,26,?)
Asked me to solve some first round aptitude
questions……and asked me about the previous Round-5
programming rounds. In this round, they asked about kernel, some
puzzles , print letter ‘X’ using ‘*’.
An array contains values between 0 to n-1. Task is
ROUND 5: GENERAL HR 1 to find the duplicate numbers with time complexity
o(n) and space complexity o(1). (Use hashing on
Asked about my family, my project, my previous the same array- add n to a value if the index has
interviews i attended, my cutoff in HSC, do you already been visited).
smoke?, what is the salary of your father, what is
your strength and weakness character-wise. Zoho Interview Experience | Set 17
Round 1:
First round is a written test. This is different from number. The output should be the number of
the other company written tests which I had faced children in that particular level for the person
till now. This round consists of 20 C output given.
questions and 10 aptitude (logical) questions. To Example:
clear this round one should have a deep Input:
understanding about the concepts of C [
programming language; mainly pointers, array and {Ram, Syam},
string manipulations, loops. We have 28 sets of C {Akil, Syam},
output questions available in the given link {Nikil, Ram},
https://www.geeksforgeeks.org/category/program {Subhash, Ram},
-output/. The other 10 questions not only consists {Karthik, Akil}
of aptitude but also logical questions. To attempt ];
the aptitude questions, we have
http://www.indiabix.com/aptitude/questions-and-
answers/. I think these two links is good enough to Syam 2
clear the first round.
Output: 3 (Syam has Ram and Akil in level 1 and in
Round 2: level 2 he have Nikil, Subhash, Karthik. So the
This is a coding round. We are given 4 answer is 3).
programming questions which have to be done in a
very optimal way. To clear this round, one should 4. Given an array of positive integers. The output
attempt at least 3 programs. should be the number of occurrences of each
number.
1. Given an odd length word which should be Example:
printed from the middle of the word. Input: {2, 3, 2, 6, 1, 6, 2}
The output should be in the following pattern. Output:
Example: 1–1
2–3
Input: PROGRAM 3–1
Output: 6–2
G
GR Round 3:
GRA This is an advanced programming round. The task is
GRAM to develop an Invoice Management. The main
GRAMP focus in this round is in designing part. We should
GRAMPR mainly focus on the data base part. How we are
GRAMPRO going to design the tables to store data and how
2. It is a program to implement Least Recently Used we are going manage the data plays an important
(LRU) concept. Given a key, if it is already existed role. It is better to refresh DBMS concepts before
then it should be marked as recently used attending the ZOHO placements. Techtud videos
otherwise a value should be stored which is given on DBMS in youtube helped me a lot to understand
as input and marked as recently used. The capacity basic concepts of DBMS. Particularly, in this round
is to store only 10 key, value pairs. If the table is full think in the aspect of ER models (Tables, attributes,
and given a new key; the key, value pair which is primary and foreign key etc).
not recently used should be deleted which gives After designing part they gave us two queries.
feasibility to store the new key, value pair. Here, the coding part should be done in a very
optimal way. Based on the query, from the data we
3. Given a few pairs of names in the order child, stored, the result should be printed. I did in C
father. The input is a person name and level
language but better to implement in any OOPS skip one set from geeks for geeks they are very
language. very good, cant stress this enough.
About 56 students cleared round 1 and round 2
Round 4: started soon the
This round is a face to face interview. I had been
interviewed nearly one and half an hour. Nearly 45 same day.
minutes, they asked about my project which is
done in Java using servlets. They asked to design all ROUND 2:
the database tables which I have used in my
project. They asked about the extensions of my 6 Programming question
project and asked how I’m going to implement.
They also raised a problem in my project and asked 1. Adding 2 numbers
which concept I will use to solve the problem.
Another 45 minutes they asked about some other GIven 2 huge numbers as seperate digits, store
TR questions, my family background and some HR them in array
questions. and process them and calculate the sum of 2
numbers and store
Round 5: the result in an array and print the sum.
This is just a formality round. They asked about the
relocation, why you prefer ZOHO and some other Input:
basic HR questions. At last, only 4% of the people Number of digits:12
survived. 928135673116
Zoho Interview Experience | Set 18 (On-Campus) Number of digits:9
784621997
Number of days – 2 Output :
928920295113
Total number of students applied – 250
2.Given sorted array check if two numbers sum in it
Round 1: is a given
15 C Output and 10 Normal Aptitude. value
10 C Output– 1 Marks Input
5 C Output– 2 Marks Array = {1 3 4 8 10 } N = 7
10 Normal Aptitude — 1 Mark output
true
28 sets in geeks for geeks is more than enough for
getting through this in addition to basic general 3. Compiuting value of sin (x)
aptitude competence. MAKE SURE YOU READ ALL Input x = 30 n = 10
THE 28 SET. Thats all i did and I found the test very output = 0.5
easy. Question were mostly pointers, arrays, loops
and strings. No questions had any sort of compile Hint : The equation sin(x) = x – x^3 / 3! + x^5 / 5! –
errors and most likely answers will be a single ….
number or a string or
a character. 4. Write function to find multipication of 2
General aptitude consisted of age problems, speed, numbers using +
ratios etc. Normal level of competence would be operator You must use minimu possible iterations.
enough to get through this. POINT TO NOTE :– The
2 mark C questions attend them first and double Input: 3 , 4
check them they will save your life and dont even Output 12
5. Given array find maximum sum of contiguous They said us to assemble at 9:00 AM
sub array
ROUND-1:
{-2 -3 4 -1 -2 1 5 -3} I expected to write the outputs of the program but
the scene was different. They gave every question
output 7 elements [ 4 -1 -2 1 5] on loops and control flows.
They gave us 1hr 30 min to solve 45 ques.
6. Given unsorted array find all combination of the 22 ques were on loops and we should write the
element output from the program, each ques is the same
for a given sum. Order should be maintained. routine. Next 23 ques were the flow charts and we
need to write the output.
Input : We are given rough sheets and they are taken
8 3 4 7 9 N=7 back.
Output they gave us the results in the afternoon.
{3 4 } {7}
ROUND-2:
PREPARATION : I was not selected for round 2, but of my friend
Solve all the previous questions asked shared his experience.
Solve extras on arrays This round was coding round we are given systems
Solve extras on matrix and a C IDE. the invigilators give us the ques and
solve extras on strings we need to solve them one by one, after solving
Learn all Datastructures available in What ever one we are given the next ques. each ques is
language you interrelated somehow. after solving around 6 to 7
are using. ques we are announced qualified fr the next round.
For me it is java so COLLECTIONS… Know every inch
of it too. ROUND-3:
CPP guys … basic DS and functions in algorithm This round is an application development one of
header. my friend was asked to develop an program such
that accepts all the cases of the railway
I solved all the questions, you would clear the reservation. We need to handle booking,
round if you cancellation, user priority and no of seats left etc.
solve minimum of 5 questions if you are from almost we have 2 hrs or more to deal with that. my
computer science friend was unable to deal with it. all our program
branch. For other branches they are a bit more will be visioned by the members of Zoho.
lenient. 3 or 4
is enough. ROUND-4:
Zoho Interview Experience | Set 19 (On-Campus) They ask us several ques and test our programming
knowledge.
Zoho is one of the esteemed company with a
unique style of intake i.e it takes a candidate only ROUND-5:
on the capability and strength on C language and After our 4th round they asked us to come to
coding. Its tagline for intake is also that the Chennai. there they take one more filtration and
candidate should be passionate about give us the call letter with a package of 6.5lakhs.
coding(programming).
To ace this Zoho u need to be perfect with C
Everyone from our college could attend, even with language. At least 70% proficient. u need to leave
backlogs also. The only thing is he should be good everything at least for 6 months and practice
at programming. coding. luck don’t support u until the last round.
My classmate aced zoho, who was passionate iii) Words should not be broken up. Complete
about programming since 1st year of B Tech. words alone should be used in a single line. A word
She even got 100% in nptel exam conducted by iit should be used in one line only.
on DS and coding, that is all. Overall its a great
company with good growth. Don’t give a try, put Input : Max char per line = 10
some effort and then try.Interview Experience | Set Favorite character = 'o'
21 (On-Campus) Words : Zoho, Eating, Watching, Pogo
Question 1 : Write a program to determine Loving, Mango
whether a given number can be expressed as sum Output : Watching Zoho
of two prime numbers or not. Eating Mango
Loving Pogo.
For example 34 can be expressed as sum of two
prime numbers but 23 cannot be. Zoho Interview Experience | Set 20
Question 2 : Take a 2 or 3 digit input number, First, I would like to thank geekforgeeks for
reverse it and add it to the original number until providing me with the previous interview
the obtained number is a palindrome or 5 questions.
iterations are completed.
I applied through employee referral. First round
Input : n = 32 was held at a college in Thirunelveli on 8th January,
Output : 55 2017. It consisted of 20 C aptitude questions and
23 + 32 = 55 which is a palindrome. 10 general aptitude questions. These questions
concentrated on control flows. Good knowledge in
Input : 39 loops and recursions is enough to clear this round.
Output : 363 Since the questions were in C, We need to know
the basics of pointers as well. Around 5000 people
Question 3 : Given a string, reverse only vowels in attended this round. And only around 50 people
it; leaving rest of the string as it is. were selected for further rounds.
Input : abcdef Second and third round, We were asked to solve
Output : ebcdaf simple algorithm questions. People who didn’t do
well were sent out on the spot. Questions were
Question 4 : Write a program to check if the given from Arrays and String manipulation. Around 10
words are present in matrix given below. The people cleared this round.
words can be left to right, top to bottom and the
diagonals (in top to bottom direction) Fourth round was technical HR. Since I am from
Automobile Stream, He didn’t ask many questions
zoho_interview in coding. He asked a few puzzles. He was nice and
helped me solve the puzzles.
Question 5 : Write a program to form lines using
given set of words. The line formation should Then I was sent to general HR. She asked why
follow below rules. Zoho? Why didn’t I try to get a job in the past 8
months after the completion of my degree? And
i) Total characters in a single line excluding the salary Expectations. After this round They told me
space between the words and the favorite that they will contact me in two days.
character should not exceed the given number.
Zoho Interview Experience | Set 21 (On-Campus)
ii) Favorite character is case insensitive.
Question 1 : Write a program to determine i) Total characters in a single line excluding the
whether a given number can be expressed as sum space between the words and the favorite
of two prime numbers or not. character should not exceed the given number.
For example 34 can be expressed as sum of two ii) Favorite character is case insensitive.
prime numbers but 23 cannot be.
iii) Words should not be broken up. Complete
Question 2 : Take a 2 or 3 digit input number, words alone should be used in a single line. A word
reverse it and add it to the original number until should be used in one line only.
the obtained number is a palindrome or 5
iterations are completed. Input : Max char per line = 10
Favorite character = 'o'
Input : n = 32 Words : Zoho, Eating, Watching, Pogo
Output : 55 Loving, Mango
23 + 32 = 55 which is a palindrome. Output : Watching Zoho
Eating Mango
Input : 39 Loving Pogo.
Output : 363
Question 3 : Given a string, reverse only vowels in Zoho Interview Experience | Set 22 (Experienced)
it; leaving rest of the string as it is. Only user-defined functions. No inbuilt functions at
all.
Input : abcdef No scanning for inputs, directly assign to vars.
Output : ebcdaf
Level 1: (2 hours – pen & paper)
Question 4 : Write a program to check if the given 1.Solve the equation X power Y with given values.
words are present in matrix given below. The
words can be left to right, top to bottom and the Example:
diagonals (in top to bottom direction) Input: X=2, Y=-2
Output: 0.25
2.Find the distance between two given points and
round it to the nearest number.
Example:
Input: (2,4)(4,10)
Output: 6
3.Count the numbers of characters in the given
string treating ‘$’ as escape sequence. If ‘$’ is
preceeded by ”, consider it as normal ‘$’ and not
the escape sequence. If ” occurs, treat it as single ”.
Example:
zoho_interview Input: Hello$World$
Output: 11
Question 5 : Write a program to form lines using 4.Given a 2D matrix, find the sum of all the
given set of words. The line formation should elements.
follow below rules.
Example:
Input: [1 2 3]
[4 5 6]
[7 8 9] Zoho Interview Experience | Set 22 (Off-Campus)
Output: 45
Level 2: I attended Zoho off-campus. I registered through a
Finish one question to get the next type. Total 5 link i received from my friend who has friends in
questions. (3 hours – machine round) Zoho. For attending off-campus you need that
1.Solve the equation (XpowerY/Z!) + (Z/(X!+Z)) with registration link which is available to their
given values of X, Y, Z. X and Z cannot be negative. employees.
Example: First Round:
Input: X=2, Y=3, Z=4 It was for 30 marks. 10 aptitude questions. 15(10- 1
Output: 1 mark question, 5- 2 mark questions) C output
2.Batman, Spiderman and Superman are going to questions. Aptitude interms of difficulty is above
start a business. The total investment is 1000M$. average. Not like the easy aptitude you get in the
Anyone can add new investment to their existing companies which hire a bulk of students like TCS
investment. They can transfer investments CTSetc. total time given was 2 hrs. For C aptitude
between themselves. The program should be in practice from sites like 2braces.com it was very
OOP style and should have a menu for user to do helpful.
all operations. (Something similar to below
example.) I got shortlisted for the next round and i received a
mail regarding that after 12 days.
Constraints:
a.Total investment should always be Second Round(coding round):
equal to or lesser than 1000M$. We were given a total of 6 programs and 2 hrs
b.Spiderman's investment should never time. The provided us with laptops. They had all
exceed Batman's. frequently used IDEs for C, C++ and Java(turbo c++,
c.Investment cannot go into negative. netbeans, eclipse, editplus)
d.Display investments on each update.
Example: The questions were:
Input: batman = 300, spiderman = 250,
superman = 100 1) Find the minimum number of times required to
Output: represent a number as sum of squares.
batman - 300
spiderman - 250 12 = 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2 +
superman - 100 1^2 + 1^2 + 1^2 + 1^2 + 1^2 + 1^2
add 100 into spiderman 12 = 2^2 + 2^2 + 2^2
sorry, spiderman cant have more 12 = 3^2 + 1^2 + 1^2
investment than batman add 200
to batman Input: 12
batman - 500 Output: min: 3
spiderman - 250 2) Search a string in a given 2D matrix. And print its
superman - 100 possible path.
add 500 to superman allowed movements are right left up and down.
sorry, total investment cant
exceed 1000. 3) In a given pascal triangle find the possible
I couldn’t get the 3rd question as I ran out of time. triangles.
Need to complete 3 questions to qualify for next
round. 4) in a matrix find the number of rectangles filled
with 1s.
Input: 0 1 1 0 OUTPUT :
1110
0011 7
0011
Ex. INPUT :
Output: 2.
5) There are n items each with a value and weight. Size of Array : 4
A sack is filled with the weights. In other words Enter the elements : 4 1 2 2
there is an array with of length n having the values
of the items arr[0…n-1] and another array with OUTPUT :
weight arr[0…n-1].
if a sack is to be filled with weight W find the 2
minimum possible value subset.
Zoho Interview Experience | Set 23 (Off-Campus) Ex. INPUT :
ROUND 1 – Written Test Size of Array : 1
There are many patterns for first round such as Enter the elements : 1
(Aptitude + C), (Flowchart + C)… For me, it is
Flowchart + C. OUTPUT :
If you are good at dry run you will surely clear this
round. Problems consist of complex loops and No second maximum
nested loops. 4. Print the following pattern
Mostly we need to predict the output and
statements which would give the desired output. Ex. INPUT : 5
There will be no multiple choice questions.
OUTPUT :
ROUND 2 – PROGRAMMING ROUND – 1
1
Try using C language. Because for me they didn’t 11
allow languages other than C. 121
1331
1. Find the maximum of three numbers? 14641
2. Print the total number of odd and even digits in Ex. INPUT : 7
the given number.
OUTPUT :
Ex. Input : 1234567 1
11
Output : ODD 4 121
EVEN 3 1331
3. Find the second maximum among the given 14641
numbers. 1 5 10 10 5 1
1 6 15 20 15 6 1
Ex. INPUT : 5. Given a two dimensional array which consists of
only 0’s and 1’s. Print the matrix without
Size of Array : 8 duplication.
Enter the elements : 2 5 1 6 2 6 7 10
Ex. INPUT :
8. Given an array of numbers. Print the numbers
Enter Row Size : 4 without duplication.
Enter column size : 3
Enter the matrix :
101 INPUT :
110
111 Enter the array size : 4
101 Enter the elements : 1 1 2 4
OUTPUT : OUTPUT :
Unique Matrix : 124
101 9. Given an array of numbers and a number k. Print
110 the maximum possible k digit number which can be
111 formed using given numbers.
6. Given an array of positive numbers. Print the
numbers which have longest continuous range. INPUT :
Ex. INPUT : Enter the array size : 4
Enter the elements : 1 4 973 97
Enter array size : 8 Enter number of digits : 3
Enter arryay elements : 1 3 10 7 9 2 4 6
OUTPUT :
OUTPUT :
974
1234
INPUT :
Ex. INPUT :
Enter the array size : 6
Enter array size : 8 Enter the elements : 1 4 89 73 9 7
Enter arryay elements : 1 3 9 7 8 2 4 6 Enter number of digits : 5
OUTPUT : OUTPUT :
1234 98973
6789 10. Given an array of numbers and a window of
7. Given two arrays. Find its union. size k. Print the maximum of numbers inside the
window for each step as the window moves from
Input : the beginning of the array.
Enter size of first array : 6 INPUT :
Enter the elements : 1 2 3 4 5 3
Enter size of second array : 4 Enter the array size : 8
Enter the elements : 1 2 7 5 Enter the elements : 1,3,5,2,1,8,6,9
Enter the window size : 3
OUTPUT :
OUTPUT :
123457
555889
ROUND – 3 ADVANCED PROGRAMMING Enter the color of the balloon : R
Contents of the matrix :
1. Given a MxN matrix filled with ‘-‘ and you need ---
to drop the balloons in the desired columns ---
starting from the bottom. You need to print the -R-
matrix when a new balloon is dropped. Do you wish to continue(Y/N) : Y
You need to continue getting inputs until the box is Enter the column number : 2
full or until the user chooses to stop. Enter the color of the balloon : B
Contents of the matrix :
TEST CASE : ---
-B-
Enter the matrix size(m*n) : 3 3 -R-
Enter the column number : 2 Do you wish to continue(Y/N) : Y
Enter the color of the balloon : R Enter the column number : 2
Contents of the matrix : Enter the color of the balloon : R
--- Contents of the matrix :
--- -R-
-R- -B-
Do you wish to continue(Y/N) : Y -R-
Enter the column number : 2 Column is filled completely. Program is
Enter the color of the balloon : B terminated.
Contents of the matrix : 3. Extended version of the previous problem. Now
--- you need to drop balloon in the first free cell from
-B- left if the specified column is filled in every row.
-R-
Do you wish to continue(Y/N) : Y
Enter the column number : 1 TEST CASE :
Enter the color of the balloon : R
Contents of the matrix : Enter the matrix size(m*n) : 3 3
--- Enter the column number : 2
-B- Enter the color of the balloon : R
RR- Contents of the matrix :
Do you wish to continue(Y/N) : Y ---
Enter the column number : 2 ---
Enter the color of the balloon : R -R-
Contents of the matrix : Do you wish to continue(Y/N) : Y
-R- Enter the column number : 2
-B- Enter the color of the balloon : B
RR- Contents of the matrix :
Do you wish to continue(Y/N) : N ---
Program Stopped ---
2. Extended version of the previous problem. Now BR-
you need to quit when a row become filled Do you wish to continue(Y/N) : Y
completely. Enter the column number : 2
Enter the color of the balloon : R
TEST CASE : Contents of the matrix :
---
Enter the matrix size(m*n) : 3 3 ---
Enter the column number : 2 BRR
Do you wish to continue(Y/N) : Y RRR
Enter the column number : 2 Do you wish to continue(Y/N) : Y
Enter the color of the balloon : R Enter the column number : 2
Contents of the matrix : Enter the color of the balloon : B
--- Contents of the matrix :
-R- ---
BRR RR-
Do you wish to continue(Y/N) : Y RRR
Enter the column number : 2 Do you wish to continue(Y/N) : Y
Enter the color of the balloon : B Enter the column number : 2
Contents of the matrix : Enter the color of the balloon : R
--- Contents of the matrix :
BR- ---
BRR RRR
Do you wish to continue(Y/N) : N RRR
Program terminated. Do you wish to continue(Y/N) : Y
4. Extended version of the previous problem. If any Enter the column number : 2
column has three continuous balloons of same Enter the color of the balloon : R
colors then we need to burst them. Contents of the matrix :
---
TEST CASE : R-R
R-R
Enter the matrix size(m*n) : 3 3 Do you wish to continue(Y/N) : N
Enter the column number : 2 Program Terminated.
Enter the color of the balloon : R 5. Extended version of the previous problem. Now
Contents of the matrix : you need to burst the three continuous colors in
--- the same row.
---
-R- Technical HR
Do you wish to continue(Y/N) : Y The number of technical HR rounds may vary
Enter the column number : 2 depending on your performance in the previous HR
Enter the color of the balloon : R rounds. Some of them were sent to incubation if
Contents of the matrix : they weren’t convincing for the HRs.
---
--- Questions were from Java, Data structures,
RR- approach for the given scenario, databases, and
Do you wish to continue(Y/N) : Y logical apps.
Enter the column number : 2
Enter the color of the balloon : R General HR
Contents of the matrix : Simple questions like why Zoho, any other current
--- offers, about Zoho, about family, why did you
--- choose CSE, higher studies,…
RRR
Do you wish to continue(Y/N) : Y Zoho On Campus Drive | Set 24 (Software
Enter the column number : 2 Developer)
Enter the color of the balloon : R
Contents of the matrix : Zoho had visited our college to recruit software
--- developers. There were two types of salary
-R- package offered and also internships.
These were the rounds: The game was split into various stages and we
were asked to implement the logic stage by stage.
Round 1 – Online Test
There were 30 questions. 15 aptitude and 15 Interviews:
coding related (from C)
A few interviews followed. Some of which was just
Aptitude was quite simple but the coding questions to get to know you. One interview had a few
were really challenging. puzzles. And one was an official interview with a
The cut-off was pretty high as this was a round lead HR from Zoho
meant for mass filtering.
Those who did really well got the higher package
Round 2 – Coding and those who just missed it also got the job with a
lower package.
This was a hands-on coding round with 8 questions. Some were offered internships.
You could use C, C++ or JAVA Overall it was a challenging process. Those with
strong logical and coding skills would make it 🙂
Most of the questions were easy:
Zoho On Campus Drive | Set 25 (Software
Given 4 integers as input. Find whether they would Developer)
form a rectangle, square or none.
Insert an element at a particular index in an array. Zoho visited our college to recruit people for
software developer role in September 2017. There
Some were average: are two types of packages offered.
Given a large number convert it to the base 7. Round 1: Written Test
Given an IP address validate it based on the given
conditions. The first round has 30 questions with 2
Sort parts of an array separately using peak values. sections.Section A is technical aptitude from C on
predicting outputs.Major Topics covered in C
Some were a bit challenging: language are Pointers and arrays. Section B has
some logical aptitude questions and few from
Given an input array, find the number of quantitative aptitude.
occurrences of a particular number without looping
(use hashing) Round 2: Coding Round
Diamond pattern printing based on some
conditions Five coding questions were asked to do in any of
Given an array of characters print the characters the Programming language C, C++, and Java.
that have ‘n’ number of occurrences. If a character
appears consecutively it is counted as 1 occurrence some of the questions are:
Eg: a b a a b c c d e d
Here a has only 2 occurrences 1)Evaluate given expression which has factorials
and exponential terms.
Round 3 & 4 – Advanced coding:
In these rounds we were asked to implement the 2)To implement snake and ladder game for given
logic for 2 games two-dimensional array having position of snakes
– Minesweeper and ladders
– Breakout a.k.a. Arkanoid a.k.a. Brick-Breaker
(you’ll find it online) 3)To calculate strength of the password string using
some predefined rules given in the question
4)Given four points, We have to say whether it is Some of the questions are.
square or rectangle or any other shape
1. Print second frequently occurring number in
Round 3: Advanced coding round given series
One coding question is asked.The question is to
implement the mail server.They checked for data Example :
structures used to solve the problem,
authentication method and some basic things like Input: 1 1 2 3 1 2 4
logout, send, and login modules Output: 2
Explanation: 1 occurs 3 times, 2 occurs 2 times, 3
Round 4: Final Interview occurs 1 time and 4 occurs 1 time. Hence second
The final interview has both technical and HR frequently occurring number in given series is 2
questions.Basics of OOPS were asked in the
interview.Concentrate on scenario based 2. Print only numbers which is present in Fibonacci
questions. series (0 1 1 2 3 5 8 ……..)
Finally, 13 people have selected for the Software Example:
developer role out of 1200 candidates appeared
for the written test. All the 13 people were offered Input: 2 10 4 8
intern for the period of 6 months. Output: 2 8
Input: 1 10 6 8 13 21
Zoho Off Campus Drive | Set 26 (Software Output: 1 8 13 21
Developer) 3. Print pattern like this
Round 1: Written test Example:
Input: 1
The first round comprised of 40 one mark Output: 0
questions (without options) from C output
questions and flow chart questions (Test Duration: Input: 2
2 hour) :- Output:
00
C output questions part covered questions from 01
iterations, pointers, array and data structures. 10
11
Suggestion: I would suggest to do quizzes from
geeksforgeeks to get in touch with all concepts of C Input: 3
and other subjects. Output:
000
Tips :- Solve the questions with calm mind. Don’t 001
stress yourself during test because you have to do 010
40 questions in 120 minutes. Don’t spend too much 011
time on any question if you are not able to do it in 100
the first attempt. 101
110
Round 2: Coding round 111
4. NxN matrix will be provided. 0->block, 1->Not a
You will be provided laptop and turbo C compiler. block
Java and C++ not allowed for second round.
Always starting point is (0,0), Ending point is (N- Zoho Interview Experience | Set 27 (Off-Campus
1,N-1). for Software Developer)
You have to go from starting point to ending point.
One valid solution is enough. Round 1: Written test
Example: The first round comprised of 25 one mark
questions (without options) from C output
Input: questions and puzzle & general aptitude questions
N=4 (Test Duration: 2 hour)
1100 C output questions part covered questions from
1001 iterations, pointers, array and data structures.
1111 Tips :- Solve the technical apt questions first and
0001 don’t stress yourself. Try to solve general apt after
Output: solving technical questions. (If you are strong in
_100 technical, it is easy to clear this written test)
_001 Reference :
____
000_ http://markandayannotes.blogspot.in/2015/12/c-
5. Insert 0 after consecutive (K times) of 1 is found. questions_24.html
Example: https://kowsalyasumathi.blogspot.in/2016/06/c-
program-quiz-question.html
Input: https://www.geeksforgeeks.org/quiz-corner-
Number of bits: 12 gq/#C%20Programming%20Mock%20Tests
Bits: 1 0 1 1 0 1 1 0 1 1 1 1
Consecutive K: 2 Round 2: Coding round
You will be provided laptop and turbo C compiler.
Output: Java , C++ also allowed for second round.
1011001100110110 *********STRICTLY NO INBUILT
Round 3: Advance programming round FUNCTIONS**********
Some of the questions are.
You have to code for Railway reservation system.
1. Find the extra element and its index
(Test Duration : 3 hours) Input : [ 10, 20, 30, 12, 5 ]
[ 10, 5, 30, 20 ]
Round 4 and 5: Interview (technical and HR) Output : 12 is the extra element in array 1 at index
4
In technical interview some puzzles and
programming questions were asked. Input : [ -1, 0, 3, 2 ]
[ 3, 4, 0, -1, 2 ]
In HR interview some basic HR questions were Output : 4 is the extra element in array 3 at index 5
asked. 2. Find the least prime number that can be added
with first array element that makes them divisible
Finally 3 got selected for extend interview process. by second array elements at respective index
(check for prime numbers under 1000, if exist
In extend interview process they will assign a return -1 as answer) & (Consider 1 as prime
mentor for you. Your mentor will give some task number)
from Java, Javascript etc..After one month they
confirmed my offer. Input : [ 20, 7 ]
[ 11, 5 ]
Output : [ 1, 3 ]
Lift : L1 L2 L3 L4 L5
Explanation : Floor: 10 2 7 9 0
(20 + ?) % 11 Explanation : L1 is near to 4 floor
( 7 + ?) % 5
3. Sort the array elements in descending order 4. If two lifts are nearest to the user’s source floor,
according to their frequency of occurrence the assign the lift with same direction of user’s
requirement.
Example: if user request to move from 4 to 2 ,and if
Input : [ 2 2 3 4 5 12 2 3 3 3 12 ] L3 is in 5th floor & L5 is in 3rd floor, then we should
Output : 3 3 3 3 2 2 2 12 12 4 5 assign L3 because user requested for downward
Explanation : 3 occurred 4 times, 2 occurred 3 motion so L3 ill move down from 5th floor
times, 12 occurred 2 times, 4 occurred 1 time, 5
occurred 1 time 5. Restrict L1 & L2 for 0-5th floor , L3 & L4 for 6-
10th floor , L5 for 0-10th
Input : [ 0 -1 2 1 0 ] Initially all lifts are at 0th floor.
Output : 0 0 -1 1 2
Note : sort single occurrence elements in ascending 6. Assign lift with least number of stops
order Example:
If L3 is in 9th floor
4. Print true if second string is a substring of first And L5 is at 8nd floor
string, else print false. If user wants to move from 8 to 0
We should assign L3 because L3 ill stop at 8,7,6 and
Note : * symbol can replace n number of characters then 0 NumberOfStops = 3, but L5 ill stop at
Input : Spoon Sp*n Output : TRUE 8,7,6,5,4,3,2,1,0 and NumberOfStops = 8 so we
Zoho *o*o Output : TRUE should assign L3
Man n* Output : FALSE
Subline line Output : TRUE 7. Assign capacity (Number of people capable to
Round 3: Advance programming round travel) to all lift and assign according to the
Lift system capacity
There were 8 modules
1. Display the position of Lift 8. If any lift is under maintenance then their
current position should be marked as “-1” and that
Lift : L1 L2 L3 L4 L5 lift should not be assigned at any cost.
Floor: 0 0 0 0 0
2. Assign Lift to the users Round 4 and 5: Interview (technical and HR)
In technical interview some puzzles and
Input : 2 5 programming questions were asked. In HR
Output : L1 is assigned interview some basic HR questions were asked.
Lift : L1 L2 L3 L4 L5 Zoho Interview Experience | Set 28 (Off Campus
Floor: 5 0 0 0 0 Drive
3. Assign nearest lift by comparing their current
positions The whole process took 5 Rounds and 2 days.
Assume,
Round 1: The first round was the pen paper based
Lift : L1 L2 L3 L4 L5 round. It had 15 Technical questions and 10
Floor: 5 2 7 9 0 Aptitude Questions.
Input : 4 10
Output : In technical question they asked questions on code
L1 is assigned output generally from C and a bit from Java too.
Question were based on different topics like Loops, Zoho Interview Experience | Set 29 (Off-Campus
Pointer/Double pointer, Arrays etc. Aptitude is not for Software Developer)
as easy as some mass recruiters you will have to dig
in a bit to get the answers. My Aptitude went really Round 1:
bad but Technical went really awesome. And was
luckily shortlisted for the next round. Out of some First round was technical aptitude with 40
1000 people some 100-200 people were selected questions – 20 programs and 20 flow charts (Time :
for the next round. 2hrs).
Round 2: I was shortlisted for the second round and got a
So this is the phase where actual hands on coding mail.
begins. I was given one string based question
pretty easy for someone who is good with Round 2:
competitive programming. Few were again filtered
out in this round Second round was programming round . It was an
offline programming round for the entire day. We
Round 3: get the next program only if we finish one. They
Now this is the one of he most challenging round in had their own test cases. We can code the
Zoho process. They asked to programme three programs in C, C++ or Java.
questions, and all three were of really good
standard. At first look I thought Ok, this is where They had programs related to :
my journey to zoho end’s. But somehow after
thinking about the questions and writing numerous prime number – print n prime numbers
cases and algos over and over again. I got output prime factor – sort the array based on the
for all three questions. This round went for about minimum factor they have.
3-4 hours. Many people again got filtered in this adding a digit to all the digits of a number eg
stage again. digit=4, number = 2875, o/p= 612119
form the largest possible number using the array of
numbers.
Round 4: lexicographic sorting.
Now this is the final coding round where everyone given a set of numbers, and a digit in each
was given one big coding question which they had iteration, if the digit exists in any of the numbers,
to implement using OOPS concepts(Just the basics). remove its occurrences and ask for the next digit
People were given ample amount of time to till the list becomes empty.
complete this coding round. I got and Employee Check if a number ‘a’ is present in another number
management system. It was distributed in 5 ‘b.
different stages in which you have to implement I forgot the other 4.
each stage one after the another. A peron from
zoho will be monitoring you from the beginning till Complexity is not an issue.
end, he also asked me to implement 6-7 extra
functionalities in the system apart from the ones As soon as I finished 11 programs, they told me to
that were mentioned in my question.d come the next day for third round.
Round 5: Round 3:
So this was the Technical interview It generally
revolved around my resume. So whatever you It was again a whole day of coding . This time all
write on your resume some questions will be the questions were based on matrix. I got 6
designed on that and also programs, again you get the next program after
you complete the current program. All the
programs were just an addition to the previous Zoho Interview Experience | Set 30 (Off-Campus
one. Here the concepts to be strong about were for Software developer)
logic for diagonals ( all the four, top-left, top-right,
bottom-left, bottom-right), finding the path in a Round 1:
matrix from source to destination. Pen and paper round having 40 technical questions
including flowcharts and output prediction for C
Make sure that the design of your code is good so Programs with no choices. No negative marking
that iterative additions become easy. and I’ve attended only around 30 questions.
After this on the Round 2:
Round 4: I was called for round 2 after some days. It’s a full
day coding round. I was given a paper having the
The HR team was really good. They make you feel problem,test cases and i need to implement them
comfortable. in c. Questions were given one after another after i
implement each problem. After solving each
The HR asked me some puzzles related stuff and problem they tried all possible test cases. For me
one algorithmic question. He wanted to see how i all the questions were from linked list counting
could optimize the complexity. around 14 at the end of the day.some of them are,
Then i was told to wait and again was called for the Finding middle element, Sorted insert, reversing LL,
next Technical HR immediately. merging 2 LLs in sorted, removing duplicate
elements and so on.
Round 5:
All of the above should be optimized in terms of
Here i was told to print a pattern, puzzles, and time complexity because they will also check the
some questions about myself were asked . logic behind our code.
Then i was called again by another Technical HR.
Round 3:
Round 6:
I was asked to come to next round on the end of
Here i was asked about data structures . I was told round 2 itself. Yet another full day of coding. In this
to implement a binary search tree in C. round i need to implement a game in C, that’s well
known as ‘Tetris blocks’. It involves full of matrix
operations. I completed nearly around 75% of the
After this I was told that if i am selected, I will get game. After this I was asked to implement the
a call for the HR round . Binary Search tree-insert,search,delete.
I got call the next day and was called at the office Technical interviews:
for HR.
While implementing the 3rd round game, i was
Round 7: called for 2 technical interviews. I was asked to
write algorithms and also some technical
The HR was very cool and he wanted me to be questions,puzzles were asked. some of them are,
comfortable . He asked me questions from the
resume and i was told that i would receive a mail if Separate 0s and 1s in single array traversal
i get selected. Finding the largest palindromic sub word in a given
word
Finding height of a binary tree 2.sort the array odd numbers in ascending and
Java oops concepts including abstract even numbers in descending.
classes,interfaces,inheritance
tree/graph traversals I/p 5 8 11 6 2 1 7
How arrays are working at system level in c
Puzzles on probability, number digits O/p 1 5 7 11 8 6 2
HR round: 3. It’s about anagram.i/p was array of strings .and a
After one week, i was called to their office for the word was given to find whether it has anagram in
general HR round. I received my offer after one given array.
week and now I am doing my internship at Zoho.
Zoho Interview Experience | Set 31 (Off Campus) I/p catch, got, tiger, mat, eat, Pat, tap, tea
Nothing hard as such was asked in ZOHO off Word: ate
campus recruitment held in January. Most of the
question are from pointers and arrays types. For O/p eat, tea
this c output questions have to be prepared well
from geeks section itself. For the second part that 4.array of numbers were given to find a number
is the aptitude part mostly the questions were which has same sum of numbers in it’s either side.
from puzzles that are their is geeks puzzles section,
problems on ages, probability, time and word. I/p 1, 2, 3, 7, 6
Study hard the questions are such that if you are O/p 7(has 1+ 2+3 in left 6 in right)
familiar with all the concepts of arrays, string and
pointers then any one can crack the first round. Round 3:
Zoho Interview Experience | Set 32 (On-Campus) Those who have solved 4 or above problems has
shortlisted for 3rd round.It was a gaming round.
Round 1:
Size of the array is given were w is wall, g ground, o
Zoho CRM team visited for on-campus.There were ball, numbers are bricks.
questions based on c apps (15), general apps
(10).Test for about 1 and half hrs. I/p size 7
Round 2: Number of bricks 6
Those who have shortlisted from first round have Position (2, 2)(2, 3)(2, 4)(3, 2)(3, 3)(3, 4)
second round coding in PC.not online coding.
Ball:5(life)
1. Print longest sequence between same character
wwwwwww
Ex I/p abcccccbba
w w
O/p 8 (from a to a)
w 1 1 1 w
I/p aaaaaaaa
w 1 1 1 w
O/p 6
w w
w g o g g g w
w w
Ball count:4
w g g o g g w
(Lt : ball moves diagonally left there is no bricK on
There are three commands St, lt, rt straight, left, the way so it hit the wall reflect back horizontally
right respectively. there is a brick(3, 2) after hitting it it moves
downwards ball position changed.hence ball count
If it is st the ball moves straight .if there any get reduced. On moving downwards is there any
brick(1) along the way it hit it .then brick brick that also disappear.)
disappear.ball back to original position.if there is
no brick .it come to initial position. Same for rt but moves diagonally right.
I/p st This is first module.In second module each brick
has value for each hit value get reduced.it
O/p disappear only when it become zero.
wwwwwww There are about 7 modules.
w w Those who have clear at least first module.selected
for fourth round.
w 1 1 1 w
Round 4:
w 1 1 w
Technical HR
w w
Only logic was asked for some programming
w w question. And some puzzles question.
w g g o g g w Round 5:
Ball count:5 General HR
I/p lt who have cleared 4th round are almost in.
O/p Zoho Interview Experience | Set 33 (Off-Campus
for Software developer)
wwwwwww
Round 1:
w w
C apps 10 one mark questions and 5 two mark
w 1 1 1 w questions
w 1 w General apps 10 one mark questions . (puzzles
from gfg and other aptitude questions )
w w
Round 2:
w w
1.Given two dimensional matrix of integer and
print the rectangle can be formed using given dt1 represents “10-Feb-2014” and dt2 represents
indices and also find the sum of the elements in the “10-Mar-2015” The difference is 365 + 28
rectangle
Input: mat[M][N] = {{1, 2, 3, 4, 6}, {5, 3, 8, 1, 2}, {4, Input: dt1 = {10, 2, 2000} dt2 = {10, 3, 2000}
6, 7, 5, 5}, {2, 4, 8, 9, 4} }; Output: 29
index = (2, 0) and (3, 4)
Output: Note that 2000 is a leap year
Rectangle
46755 Input: dt1 = {10, 2, 2000} dt2 = {10, 2, 2000}
24894 Output: 0
sum 54
Both dates are same
Input: dt1 = {1, 2, 2000}; dt2 = {1, 2, 2004};
2. Find the result subtraction, multiplication, Output: 1461
division of two integers using + operator.
Input: 6 and 4 Number of days is 365*4 + 1
output: 5.
addition 6+4 = 10, subtraction 6+(-4) = 2,
multiplication = 24, division = 1 Let 1 represent ‘A’, 2 represents ‘B’, etc. Given a
digit sequence, count the number of possible
decodings of the given digit sequence.
Input : -8 and -4
Output: Examples:
addition -8+(-4) = -12, subtraction (-8)+(-(-4)) = -
4, multiplication = 32, division = 2 Input: digits[] = “121”
Output: 3 // The possible decodings are “ABA”,
“AU”, “LA”
3.Given a sentence of string, in that remove the Input: digits[] = “1234” Output: 3
palindrome words and print the remaining.
Input: // The possible decodings are “ABCD”, “LCD”,
He did a good deed “AWD”
Output:
He good 6. https://www.geeksforgeeks.org/convert-
sentence-equivalent-mobile-numeric-keypad-
Input: sequence/
Hari speaks malayalam
Output: Round 3:
Hari speaks
Given an employee date base.
Name, Age, Designation, Department Of ten
4.Given two dates, find total number of days people.
between them.
and Five tasks were given such as
Input: dt1 = {10, 2, 2014} dt2 = {10, 3, 2015}
Output: 393 1. Print all employee details.
https://www.geeksforgeeks.org/given-a-number-
2. Searching employee details find-next-smallest-palindrome-larger-than-this-
number
3. Employees under the given manger name of the Given an array with repeated numbers, Find the
department top three repeated numbers.
input: array[]={3, 4, 2, 3, 16, 3, 15, 16, 15, 15, 16, 2,
4. reporting to tree of the given employee name 3}
Zoho Interview Experience | Set 34 (Off Campus) output: 3, 16, 15
People who completed 4 and above are selected
Hi!! I Recently attended Zoho off campus. I’st for next round on same day. Try to optimize your
round in Madurai and remaining rounds in Chennai solution as much as possible. They will ask you to
campus. optimize till you come up with an expected time
complexity solution.
Round 1: C AND APTITUDE [ 2 HRS ]
Round 3: Advanced Programming round [ 3 HRS ]
TECHNICAL : 20 C Output questions. Questions
pointers, Matrix, Arrays, strings. Practice all C This round is mainly based on data structure and
output questions set in geeksforgeeks which is oops concepts.
more than enough. No inbuilt collections are allowed. You need to
https://www.geeksforgeeks.org/tag/c-output implement on your own.
APTITUDE : 15 Puzzles. Practice Logical reasoning Needs to discuss your approach before start solving
questions. the problem.
Got mail after 2 weeks for second round. Design a system with following functionalities,
SET a variable
Round 2: SIMPLE CODING [ 3 HRS ] GET a variable
UNSET a variable
Coding in system. Allowed to use c/c++/java. They COUNT NUMBERS OF VARIABLE with given value
expected the optimized solution for all the BEGIN — Begins a new transaction
questions. Needs to discuss the approach before ROLLBACK — Roll back all the commands in the
start solving each question. open transaction
COMMIT — Commit the transaction
Given two Strings s1 and s2, remove all the EXAMPLE 1:
characters from s1 which is present in s2.
Input: s1=”expErIence”, s2=”En” SET a 20
output: s1=”exprIece” GET a 20
Find the next greater element for each element in SET b 30
given array. GET b 30
input: array[]={6, 3, 9, 10, 8, 2, 1, 15, 7}; SET a 10
output: {7, 5, 10, 15, 9, 3, 2, _, 8} GET a 10
If we are solving this question using sorting, we UPDATE c 40 No variable named “c”
need to use any O(nlogn) sorting algorithm. SET c 30
Print all distinct permutations of a given string with COUNT 30 2
duplicate characters. COUNT 40 null
https://www.geeksforgeeks.org/distinct- UNSET a
permutations-string-set-2 GET a null
Given a number, find the next smallest palindrome.
EXAMPLE 2: if query[0] == "set":
dic[query[1]] = query[2]
GET a null elif query[0] == "unset":
SET a 30 dic[query[1]] = "null"
GET a 30 elif query[0] == "update":
dic[query[1]] = query[2]
EXAMPLE 3: elif query[0] == "get":
print dic[query[1]]
SET a 30 elif query[0] == "count":
BEGIN count = 0
GET a 30 for i in dic:
SET a 40 if dic[i] == query[1]:
GET a 40 count = count + 1
SET b 40 print count
GET b 40 elif query[0] == "begin":
ROLLBACK while(query[0]!= "rollback"):
GET b null query = [str(i) for i in raw_input().split(" ")]
GET a 30 if query[0] == "set":
dic1[query[1]] = query[2]
EXAMPLE 4: elif query[0] == "unset":
dic1[query[1]] = "null"
BEGIN elif query[0] == "update":
SET a 40 dic1[query[1]] = query[2]
SET b 40 elif query[0] == "get":
SET c 50 print dic1[query[1]]
COUNT 40 2 elif query[0] == "count":
BEGIN count = 0
COUNT 40 null for i in dic:
COMMIT if dic[i] == query[1]:
COUNT 40 2 count = count + 1
BEGIN print count
SET c 10 except KeyError:
GET c 10 print query[1]," is not present"
ROLLBACK pass
GET c 50 I used stack to solve the above modules.
filter_none 4 of us completed all the modules and called for
edit technical round on next day.
play_arrow
Round 4: TECH 1 [ around 30 minutes ]
brightness_4
#My solution in Pyhton . Discussion about current project. Most of the
dic = {} questions are about tech skills you mentioned in
dic1 = {} the resume.
while(1):
try: Be clear with things you added in your resume. If
query = [str(i) for i in raw_input().split(" ")] they find you are good enough they will send you
# print query to HR else this is the end of the line.
# try:
3 of us called for hr round.
Output: sd-ds, hij-ijh
Round 5: HR ROUND [ 10 mins ]
4. Find the frequency of all numbers in an array.
Why you are leaving your current job in short span
? [ 1 yr experience ] Note: use dynamic memory allocation.
Why Zoho?
Where will you stay? [ they expect you to stay For example, if the input is {1, 2, 45, 67, 1, 88}, do
within 10-15 km from office as it is mentioned in not calculate the frequency of all elements from 1
interview call letter itself] to 88.
Discussion about package.
5. From the input sentence given, find the strings
After 4 days, got call from hr saying “You make it which are not palindrome and print it.
into the team” . All 3 are selected in HR round.
Zoho Interview Experience | Set 35 (On-Campus) Input: he knows malayalam
Round 1: The first round consists of 15 c aptitude Output: he knows
questions and 10 aptitude questions. Out of 15 c-
aptitude questions, 10 were allocated 1 marks and Round 3:
5 were allocated 2 marks. The questions will be
mostly based on backtracking with recursions and One application will be given. Time: 2h30m
functions. Theory type questions won’t be asked.
Also, concentrate on pointers. Note: All the Write an application for booking railway ticket
questions are fill in the blanks. reservation system. The application should have
four functionalities.
Round 2: The second round consisted of 5
questions. Time: 2h30m Book
Cancel
1. Print the given input string in ‘X’ format. Print booked tickets (details with summary)
Print available tickets (details with summary)
Note: The string length will be of odd length. Conditions for booking:
https://www.geeksforgeeks.org/print-string-of- There are a total of 63 berths for 63 confirmed
odd-length-in-x-format/ tickets, 9 berths for 18 RAC tickets and 10 tickets in
waiting-list. If the waiting-list ticket count goes
2. Two sorted arrays will be given. Create an array above 10, print as ‘No tickets available’. The
consisting of the elements of two arrays with following passenger details should be obtained
duplicate elements removed in sorted order. from the user.
Note: Use only one loop. No sorting. Name
Age
https://www.geeksforgeeks.org/union-and- Gender
intersection-of-two-sorted-arrays-2/ Berth Preference
The tickets should not be allocated for children
below age 5.But, their details should be stored.
3. Two strings of equal length will be given. Print all Lower berth should be allocated for persons whose
the adjacent pairs which are not equal. age is above 60 and ladies with children if available.
Side-lower berths should be allocated for RAC
Input: asdfghij and adsfgijh passengers.
2. Given an input string and a dictionary of words,
Conditions for cancelling: find out if the input string can be segmented into a
space-separated sequence of dictionary words. See
Whenever a ticket is cancelled, a ticket from RAC following examples for more details.
should be confirmed and a waiting-list ticket should
move to RAC. Consider the following dictionary
{ i, like, sam, sung, samsung, mobile, ice,
Conditions for printing booked tickets: cream, icecream, man, go, mango}
Print all the tickets that are filled along with the Input: ilike
passenger details and at the end, print the total Output: Yes
number of tickets that are filled. The string can be segmented as "i like".
Conditions for printing available tickets: Input: ilikesamsung
Output: Yes
Print all the tickets that are unoccupied and at the The string can be segmented as "i like samsung"
end, print the total number of tickets that are or "i like sam sung".<>
unoccupied.
Zoho Interview Experience | Set 36 (Software 3.Print the following pattern
Developer)
1
Round 1:There were 10 C programming questions 32
and 15 Aptitude questions. 654
10 9 8 7
Round 2: 10 9 8 7
654
1. Given a text and a wildcard pattern, implement 32
wildcard pattern matching algorithm that finds if 1
wildcard pattern is matched with text. The 4.Given an array as input, The condition is if the
matching should cover the entire text (not partial number is repeated you must add the number and
text). put the next index value to 0. If the number is 0
print it at the last.
The wildcard pattern can include the characters ‘?’
and ‘*’ Eg: arr[] = { 0, 2, 2, 2, 0, 6, 6, 0, 8}
‘?’ – matches any single character Output: 4 2 12 8 0 0 0 0 0 .
‘*’ – Matches any sequence of characters (including
the empty sequence) Zoho Interview Experience | Set 37 (Java
Developer)
Example:
Text = “baaabab”, Round 1: There were 20 Aptitude Questions and 10
Pattern = “*****ba*****ab”, Java MCQ.No C or C++ questions.
output : true
Pattern = “baaa?ab”, output : true Round 2: This time it was quite easy ..
Pattern = “ba*a?”, output : true
Pattern = “a*ab”, output : false 1.Given a String with or without special characters
find if it is Palindrome or Not.. No splitting of array
must be done or No additional spaces must be
used for storing the array..
Eg: RACE CAR Around 1400 students appeared for 1st round. Two
teams came to our campus.If one team rejected a
Eg: I DID, DID I ? candidate they were made to sit for the next team
for the same round.
2. Given an array of integers of size n. Convert the
array in such a way that if next valid number is Round 1:
same as current number, double its value and
replace the next number with 0. After the 10 very simple C question(find the output) and 20
modification, rearrange the array such that all 0’s Aptitude was asked in first round. It was much
are shifted to the end. similar service based company questions.C
questions very basic like string reverse, add all
Input : arr[] = {2, 2, 0, 4, 0, 8} digits, etc. Aptitude was similar to service based
Output : 4 4 8 0 0 0 company level(puzzles, distance & speed,
probability, average, combinations).
Input : arr[] = {0, 2, 2, 2, 0, 6, 6, 0, 0, 8}
Output : 4 2 12 8 0 0 0 0 0 0 Students who solved all C questions and Aptitude
were taken to round2.
3 . TWISTED PRIME NUMBER
Round 2:
A number is said to be twisted prime if it is a prime
number and reverse of the number is also a prime Problem 1:
number.
Many students will able to solve 3 problems in this
Input : 97 round. So make sure you stand apart from the
Output : Twisted Prime Number crowd.Their vacancy is going to be 5 for a team.
Explanation: 97 is a prime number The performance in this round could be taken as a
and its reverse 79 is also a prime tie breaker for round 3.
number.
input : aaabbcc
4.
Given an array A[] and a number x, output : abc
check for pair in A[] with sum
as x. Problem 2:
Eg : Input {1, 2, 4, 3, 5, 6} Evaluate the expression and sort and print the
SUM : 5 output. Getting the input is the tricky part
Output : 2 (1, 4) & (2, 3)
Input:
5.Largest Sum Contiguous Subarray
(Kadane' Algorithm ) Number of input : 4
6.Diamond pattern : for given input size -> Here 3 2*3
*
*** 2^2^2
*****
***
* 35
Zoho Interview Experience | Set 38 (On-Campus)
3*1
Round 3:
Output: Many students will be able to solve this round. So
try to perform best in round 2.
3*1
You will be asked to explain before starting.Try to
2*3 figure out the boundary testcases .They asked us to
implement a gift card system with a existing bank.
2^2^2
The bank has many customers . Each customer can
35 create many gift card. Balance should detected
from bank balance when a gift card is created.A gift
Problem 3: card has a id, pin.You can Top-up any gift card,
close gift card and buy item using gift card(they are
Given a 6 blocks, of different height h1, …, h6 . called transactions), etc.
Make 2 towers using 3 Blocks for each tower in
desired height h1, h2. Print the blocks to be used in Write clean code and use object oriented language.
ascending order
Boundary case are :
Input:
Customer does not exist
12543 6 Money is negative
Round 4(Technical Hr):
height of tower: 6 15
They ask questions from dbms, os, etc and some
Output : puzzles.
123&456 Zoho Interview Experience | Set 39 (On-Campus
Drive for Software Developer)
Problem 4:
The recruitment process took place for two days in
Given a 5X5 chess board as input. 9 knights are our campus in June ’17.
placed in the board. Print whether the
configuration valid or Invalid. Round 1:
This was an online MCQ’s test .There were 20
Problem 5: questions in each of the two sections, one for C
Programming (Loops, functions, Strings, etc…) and
Given a number, print all the code that can be the other for Quantitative Aptitude(really tough). It
formed with z={a=1, .., z=26}. was an online test this time, unlike the usual
written test. Top 50 students were selected for
1123 next round.
{1, 1, 2, 3} = aabc Round 2: Short Coding
1. Pangram Checking
{11, 2, 3} = kbc Check whether all english alphabets are present in
the given sentence or not
{1, 1, 23} = aaw I/P: abc defGhi JklmnOP QRStuv wxyz
O/P: True
{11, 23} = kw
I/P: abc defGhi JklmnOP QRStuv I/P: 4
O/P: False 3542
245
2. Password Strength 45678
Find the strength of the given password string 4921
based on the conditions 12
Four rules were given based on the type and no. of O/P: 50856
characters in the string.
Weak – only Rule 1 is satisfied or Rule 1 is not 6. Cricket Scores
satisfied Given a timeline of scores, find the individual
Medium – Two rules are satisfied scores of player 1 and player 2 and Extras
Good – Three rules satisfied W – Wide N – No Ball . – Dot Ball
Strong – All Four rules satisfied Consider the game starts from player 1
I/P:
I/P: Qw!1 O/P: Weak
I/P: Qwertyuiop O/P: Medium 1.2.436W1.N.21
I/P: QwertY123 O/P: Good O/P:
I/P: Qwerty@123 O/P: Strong
3. First Occurences P1 – 8
Given two strings, find the first occurence of all P2 – 12
characters of second string in the first string and Extras – 2
print the characters between the least and the
highest index 7. Queries
RABC
I/P: ZOHOCORPORATION PORT 1 56 67 89
O/P: OHOCORPORAT 2 89 54 90
3 78 91 83
Explanation: The index of P in first string is 7, O is 1, 4 69 72 95
R is 6 and T is 11. The largest range is 1 – 11. R – Rollno, A, B, C – Marks in three subjects
So print the characters of the first string in this inex Given the above matrix, print the result of the
range i.e. OHOCORPORAT queries given the following syntax.
The first input string has a single character
4. Matrix Diagonal sum denoting the field to be printed.
Given a matrix print the largest of the sums of the * – All fields of the selected rows
two triangles split by diagonal from top right to A – Print only field A
bottom left B – Print only field B
I/P: C – Print only field C
33 The second string contains the condition –
123 <field><relational_operator><value>.
456 > – Greater than
789 < – Less than
= – Equal to
O/P: 38
I/P: *
5. Matrix Addition A>70
Given n integer arrays of different size, find the
addititon of numbers represented by the arrays O/P:
O/P: (The order of numbers may vary)
2 89 54 90 2 3 9 5 1 10 6 7 8 4
3 78 91 83 5 6 9 12 10 11 7 8
4 69 72 95 9 5 1 2 3 4 8 7 6 10
I/P: A If any of the given ranges are same, The orders of
C<90 the numbers must vary.
I/P: 4
O/P: 17
17
56 17
78 17
O/P:
8. Count Possible Paths 6715234
Given a N*N binary matrix and the co-ordinate 1726354
points of start and destination, find the number of 6351427
possible path between them. 1236574
I/P:
4
1001
1010 Around thirty students were selected for next
1110 round.
0111
Round 3:Advanced Coding
1 2 (start position)
0 0 (destination) This time we were asked to develop the good old
O/P: 2 BOMBERMAN game. There were six modules, each
of which is an improvement of the previous
I/P: module. We were evaluated at the completion on
4 each module. The each module were given with
1001 very clear explanation and sample test cases. The
1010 HR’s were friendly and cleared the doubts of the
1110 students. Around twenty were selected for the
0111 next round.
2 0 (start position) Round 4: Technical HR
3 3 (destination)
O/P: 2 Questions were from Java, OOPs, Basics of DBMS,
Projects, etc… A data structure problem was given
9. Shuffle an Array for which I have to give the logic to solve it
Given a range of numbers print the numbers such followed by some puzzles. Some real time
that they are shuffled applications and the problems in it were discussed.
First line contains no. of test cases.
I/P: Round 5: General HR
3
1 10 You are almost IN if you are called for this round.
5 12 Some common HR questions and you are done
1 10 with the interview.
The overall interview process was really good and 3
anyone with really good Problem Solving and
Logical Thinking skills can crack it.
Zoho Interview Experience | Set 40 (On-Campus) Round 3: we were told to develop an application
Round 1: 15 find the output coding questions and on a given environment(Chess tournament). we
10 aptitude. Time = 2 hours. were given 3 hours to write the code. They mainly
focused on data structures used, how neatly we
Round 2:There were 5 coding questions which we were writing the code and how well we are able to
need to solve in 3 hours and anyone who solves 3 fix the bugs in it.
questions were taken for 2nd round
Round 4: It was a technical interview round where I
1) https://www.geeksforgeeks.org/wildcard- was mainly asked about the projects I had listed in
pattern-matching/ my resume. After that he asked questions on
database-indexing, JSON and XML parsing,
2) https://www.geeksforgeeks.org/number-cells- Searching techniques, Page replacement
queen-can-move-obstacles-chessborad/ algorithms and map-reduce concepts.
3) https://www.geeksforgeeks.org/job-sequencing- Round 5: Last round was HR. I was asked basic
problem-set-1-greedy-algorithm/ questions like why zoho, if I wanted to do higher
studies etc
4) https://www.geeksforgeeks.org/word-ladder-
length-of-shortest-chain-to-reach-a-target-word/ Zoho Interview Experience – On campus | Set 41
5) There are ‘n’ ants on a ‘n+1’ length rod. The ants Zoho was a two day process. The first day had the
are numbered from 1 to n and are initially placed at aptitude and coding round.
positions starting from position 1 till position n.
They are moving either in left direction (denoted The second day consisted of the module coding
by ‘-1’) or in the right direction (denoted by ‘1’). and interview rounds.
Whenever an ant crosses the boundary of the rod
it falls off the rod. You are given the initial direction Round 1: Aptitude
of the ants. Now, whenever two ants collide their
direction switches, i.e. the ant going in left The first round consists of 15 technical MCQ’s and
direction (‘-1) changes it’s direction towards right 10 aptitude questions. This is a pen and paper
(‘1’) and the ant going in the right direction (‘1’) round.
changes it’s direction towards left (‘-1’). Find last There are NO choices for the questions. You have
ant to fall off the rod. to write the answers.
Note: In case two ants are falling simultaneously in Mark weightage:
the end print the index of the lower indexed ant.
Technical:
Input:
2 Q.No 1-10 – 1 mark each
2
11 Q.No 11-15 – 2 marks each
8
1 1 -1 1 1 1 -1 1 Aptitude – Q.No 1 -10 – 1 mark each
Output: Total Questions: 25
1
Total Marks: 30 We could code in any language of our choice. The
paper consisted of 5 questions.
The technical questions consisted of :
Sort the given elements in decending order based
Pointers on the number of factors of each element –
Arrays using Pointers(matrices and Solution 1
multidimensional arrays included) Find whether the given number is palindrome or
Operator Precedence and Associativity not. Don’t use arrays or strings – Solution 2
String Manipulation Reverse the given string keeping the position of
Loops ( basic iteration questions ) special characters intact – Solution 3
Operators(++, –, arithmetic, assignment, logical, Find the shortest path from one element to
relational, conditional, bitwise) another element in a matrix using right and down
Recursion moves alone. The attached solution uses moves in
All the above topics are very important. Also solve all directions. – Solution 4
questions based on pointers and operator Pattern
precedence. Refer the below links. Round 3:
https://www.geeksforgeeks.org/difference- The third round consisted of module coding. As
between-p-p-and-p/ told before, this was the first round on the second
day.
https://www.geeksforgeeks.org/difference-const-
char-p-char-const-p-const-char-const-p/ The module given to me was Flight Reservation
system. There were several modules where we had
Sample questions asked was about permutations, to implementation functionalities. Some are
for loop manipulation(eg: for( i=0; i=i-1;i=1)). mentioned below:
The general aptitude questions consisted of: Get input from two flights – 101 and 102 with
different passengers for each flight.
Logical reasoning After booking seats, display the seat number to the
Pattern completion passenger.
Car in the box puzzle The meal has an additional charge which has to be
Pipes and Cisterns included
Probability Surge pricing was that every ticket (business/
Complete the number series economy) was incremented by a specific price after
Count number of shapes each successful booking.
Tips : A flight summary has to be displayed.
Cancellation of flights should be done. The refund
Solve the first round calmly because it is the round should be calculated properly.
where many students are easily filtered out. I used structures and file manipulation for
Concentrate on technical aptitude as it has more completing the module round.
weightage.
The round is about 1 hour. Round 4: Technical interview
Round 2: Coding
I had two technical interviews.
The second round was a coding round. Zoho did
not use any technical platform such as Hackerrank The first interview had the following questions:
or Hackerearth for coding. So there were no
automated testcases. Tell me about yourself where you have to speak as
much as possible.
Project questions. Technical Questions-Basic looping, conditional
C questions about static variables. statements, operators, increment and decrement
The possible moves a knight can make in a operators, pointers
chessboard.
Puzzles. Use Geeksforgeeks for puzzle reference. General Aptitude-problems on train, pipes and
Solve how many ever you can. cistern, ratio and proportion, puzzles, clocks,
Artifical intelligence usage in college campus. calendar, speed and distance, basic logic questions
What is NoSQL and how are the documents
stored? Tips: Geeks puzzles, c set questions -64, For
OOPS concepts Aptitude prepare specific topics, refer India bix
How does a DNS server work?
FTP and HTTP usage. Give more importance to technical than general
SQL Queries aptitude questions
The second interview consisted of the following
questions: Round 2:
Tell me about yourself I got mail for second round on Feb 27th, 2019.The
What is minified css?(bootstrap.min.css) second round was scheduled on March 5th, 2019
DOM when a webpage loads
Java questions- Singleton class Three questions were given
Garbage collection in Java
CSS insertion types https://www.geeksforgeeks.org/find-number-
Bootstrap questions currency-notes-sum-upto-given-amount/
Linked list and other data structures questions https://www.geeksforgeeks.org/number-cells-
The questions were based on my area of interest. queen-can-move-obstacles-chessborad/
Mine was Web Development and Data structures. https://www.geeksforgeeks.org/program-to-
convert-hexadecimal-number-to-binary/
Java knowledge is very important for attending https://www.geeksforgeeks.org/convert-binary-
Zoho. I learnt some basics of Java alone. number-hexadecimal-number/
From around 25, 10 were shortlisted to the next
Round 5: General interview round
This was a general interview where they tested the Round 3:
candidate based on situation questions. Normal
questions were asked such as what salary package The bank has initially three customers.There were
do you want to be put in and why. Would you work around eight modules .
or go for masters? What do you like about Zoho?
Account Login
Zoho Interview Experience | Set 42(Off-Campus) Purchase
Account Login
I attended Zoho interview on Feb 2nd, 2019
Giving customer id and password .Password should
Round 1: be encrypted and stored
There were 25 questions.15 Technical Questions
and 10 Aptitude questions Encryption is like A-> B, B->C
a-> b, b->c, c->d
0->1, 1->2
7.Redeem points :
On successful login, it should print the account
details For Every 100 rupee purchase, 1 reward point is
added .For 10 reward points, 10 will be added to
1.Create Gift Card main account
2. TopUp 8.Doing for Multiple gift cards
3.Transaction History Around 5 to 6 of us who completed 6 to 7 modules
were shortlisted to next round
4.Block
Round 4:Tech HR(Face to Face)
5.Logout
1.Final Year Project
1.Create Gift Card
2.Collections ? Data Structures in Java
Gift card with 5 digit card no and 4 digit pin
number will be genrated 3.Difference Between HashSet, HashMap, List
2.TopUp 4.Overriding and Overloading
For topup, amount need to be reduced from main 5.Abstract class and interface
account balance and added to gift card
6.if throws keyword in base class, then is it
3.Transaction History necessary to do the same in derived class
Should print all the transaction details of a 7.Should we need to create abstract class object
particular gift card
8.Balanced Parenthesis problem
4.Block
9.Difference between Stack And queue
If the card is blocked, shouldn’t be available for
topUp, Purchase.the amount in gift card should be 10.Does HashSet accepts Object, then how it
transferred to main account implements unique character
5.Logging Out 11. Upcasting and DownCasting in java
After log out, should go to main module, 12.static and instance variable
13.Can static method accepts instance variables
2.Purchase 14.Exception
Login to the gift card 15.Access specifiers
Purchase Amount 16. Digged mostly oops concept
Then print Available balance
You will be evaluated in each and every round in all
aspects .