# Zoho Interview Experience | Off-Campus January 2021

Hello everyone, the interview had 6 rounds, and it was completely online because of the corona lockdown. If you have applied for Zoho, all the best. Let’s get started!

**Round 1: **Guess the output and aptitude questions (~2 hours)

Find the output of 20 questions in C language (no errors in code) and 15 general quantitative aptitude questions.

Be prepared in nested loops, recursion, ASCII values, typecasting between char and int, functions, #define, #typedef, structures, etc.

**Round 2: **Pattern programming round (30 minutes)

Problem: https://www.geeksforgeeks.org/mirror-image-0/

Input:n = 4 Output: 0 101 21012 3210123

After coding, we have to create a GitHub repository and share the code link to Zoho before the time runs out. And I know that this looks new and not a lot of people get this additional round.

**Round 3: **Programming round (~4 hours)

C++/Java on any code editor with screen share and video call for rounds 3 and 4.

**Section A: Code first then explain**

1. Write a program to print a snake matrix** **in the following pattern without using arrays and if conditions.

Input: 4

Output:

1 | 2 | 3 | 4 | |||

8 | 7 | 6 | 5 | |||

9 | 10 | 11 | 12 | |||

16 | 15 | 14 | 13 |

2. Write a program to find the duplicate numbers in an array and their occurrences.

Store the duplicate numbers in a separate array and print the output.

Input : [ 1, 2, 4, 5, 2, 1, 5, 2, 10, 22, 5 ] Output: 1 -> 2 2 -> 3 5 -> 3

**Section B: Explain logic then code **

1. Given a String with numbers and operators. Perform the operation on the numbers in their respective order. Operator precedence need not be considered. The input string will have the numbers followed by the operators.

Input: "12345 * + - + " Result: 6 [Explanation: 1 * 2 + 3 - 4 + 5 = 6] Input: "374291 - - * + -" Result: -4 [Explanation: 3 - 7 - 4 * 2 + 9 - 1 = -4]

2. For a given number N, find the next immediate palindrome number.

Input: 808 Output: 818 Input: 2133 Output: 2222

3. Write a program to implement Zeckendorf’s theorem.

Definition: Zeckendorf’s theorem states that every positive integer can be represented uniquely as the sum of one or more distinct Fibonacci numbers in such a way that the sum does not include any two consecutive Fibonacci numbers.

Example:

Input: 64 Output: 55+8+1 Input: 50 Output: 34+13+3

**Round 4: **Advanced Programming round (~4 hours)

You are probably expecting an OOP-based application like Railway reservation, Traffic control, Lift control, etc, but instead, I got something new.

An algebraic problem, just one question for 3-4 hours.

Write a program to multiply two or more algebraic expressions and print the result.

Examples:

Input: (2x+y)*(3x-5y) Output: 6x^2-7xy-5y^2 Input: (2xy+4x^2y)*(2x^2y+6xy) Output: 28x^3y^2+8x^4y^2+12x^2y^2 Input: (2x^2y+3xy^2z-xz^3)*(5xyz+3y^2z-2z) Output: 10x3y2z+6x2y3z-4x2yz+15x2y3z2+9xy4z2-6xy2z2-5x2yz4-3xy2z4+2xz4

**Round 5: **Technical HR round (~90 minutes)

Before we go into technical questions, there will also be general questions like what is your goal in life, about family, etc.

First, they will read your resume and ask questions on that, the projects, studies.

They asked if I had knowledge of SQL and asked me to design a database for a social media platform, because that was the project mentioned on my resume (It can also be done in C++/Java like with Dynamic arrays and Maps), after doing so they will ask for even more features like how to find friends of a friend for a profile, create group class, post class, etc, and all of it was asked to be done on paper and pen, then to be uploaded via phone.

**Round 6: **General HR round (~30 minutes)

Well, if you have come this far, congratulations!

But if you think this round will be a piece of cake, you are mistaken.

- Why Zoho should hire you?
- Why Zoho? (Why not other companies?)
- Who are Zoho’s competitors?
- What if some multinational company offered you a better salary package right now? Which will you choose and why?

__Conclusion__

Considering all these rounds, it is clear that cracking Zoho is challenging, but with the right preparation and hard work, anything is possible! Lastly, I thank GeeksforGeeks which helped me a lot to crack this interview.

## Please

Loginto comment...