# Zoho Interview | Set 5 (On-Campus Drive)

• Difficulty Level : Medium
• Last Updated : 22 Jul, 2019

Round 1:
Questions based on aptitude (10) and c program output (20)
Time 2hr.

Round 2:
5 problem given we have to solve at least 3
Program 1:
Help john to find new friends in social network
Input:
3
Mani 3 ram raj guna
Ram 2 kumar Kishore
Mughil 3 praveen Naveen Ramesh

Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

Output:
Raj guna kumar Kishore praveen Naveen Ramesh

```Start time         end time
1230            0130
1200            0100
1600            1700```

Output:
2

Program 3:
Find the union intersection of two list and also find except (remove even elements from list1 and odd elements from list2)
Input

```List 1: 1,3,4,5,6,8,9
List 2: 1, 5,8,9,2

Union: 1, 3,4,5,6,8,9,2
Intersection: 1,5,8,9
Except: 1, 3, 5,9,8,2 ```

Program 4:

```Rotate the matrix elements
For 3*3 matrix
Input
1    2    3
4    5    6
7    8    9

Output:
4    1    2
7    5    3
8    9    6

For 4*4 matrix
Input:
1    2    3    4
5    6    7    8
9    10    11    12
13    14    15    16

Output:
5    1    2    3
9    10    6    4
13    11    7    8
14    15    16    12```

Program 5:
Find the largest possible prime number with given no
Input
5
4691
Output:
9461

Round 3:
For one batch of people
Basic programs like pattern printing
1
22
333
4444
And
1
2 4
3 5 7
6 8 10 12

Scenario: text editor
Only 40 characters per line and words should be wrapped if they brake
Also perform insert delete operations

Round 4:
Tech hr: Topics revolved around OOPS and java thread and Ubuntu commands.

Round 5:
General hr: As usual stuffs like personal info and about projects and why zoho?
Good luck friends
Thanks for geeks for geeks team it helped me a lot.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

My Personal Notes arrow_drop_up