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

SDE - 1

Zoho Corporation
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

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

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

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

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

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date10 Jun 2021
Coding problem2

It was good and you need a good knowledge in programming choose any one of the language and be ready with that.

1. Number Of Sequence

Hard
50m average time
60% success
0/120
Asked in companies
OlaCodenationZoho Corporation

A sequence is called nice by a coding ninja if the following conditions are met:

0 <= ‘ARR’[k] <= k 
‘ARR’[k] = ‘ARR’[m] mod k, for all pairs of k,m such that k divides m.

You are given a sequence of integers ‘ARR’ where some numbers may be -1. Find and print the number of nice sequences you can create by changing each -1 to a non-negative integer. As this number can be quite large, your answer must be modulo it by 10 ^ 9 + 7.

For example:

Given ‘N’ = 3, 
'A' = {0, -1, -1} 
Then the answer is 6 because following sequences are possible:[0, 0, 0], [0, 1, 0], [0, 1, 1], [0, 1, 2], [0, 0, 1], [0, 0, 2].
Problem approach

One approach to solve the above question would be to traverse the array and check for the strictly increasing sequence and then check for strictly decreasing subsequence or vice-versa. 
Steps : 
1. If arr[1] > arr[0], then check for strictly increasing then strictly decreasing as: 
• Check for every consecutive pair until at any index i arr[i + 1] is less than arr[i].
• Now from index i + 1 check for every consecutive pair check if arr[i + 1] is less than arr[i] till the end of the array or not. If at any index i, arr[i] < arr[i + 1] then break the loop.
• If the end is reached, the array forms an increasing-decreasing sequence. 
2. If arr[1] < arr[0], then check for strictly decreasing then strictly increasing as: 
• Check for every consecutive pair until at any index i arr[i + 1] is greater than arr[i].
• Now from index i + 1 check for every consecutive pair check if arr[i + 1] is greater than arr[i] till the end of the array or not. If at any index i, arr[i] > arr[i + 1] then break the loop.
• If the end is reached, the array forms an decreasing-increasing sequence.

Try solving now

2. Sum Of Proper Divisors

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

Given a natural number 'N', return the sum of all proper divisors of ‘N’.

‘X’ is a proper divisor of ‘Y’ if X < Y and Y % X = 0.

 

Problem approach

For any number ‘num’ all its divisors are always less than and equal to ‘num/2’ and all prime factors are always less than and equal to sqrt(num). 
So, iterate through ‘i’ till i<=sqrt(num) and for any ‘i’ if it divides ‘num’ , then we get two divisors ‘i’ and ‘num/i’ , continuously add these divisors but for some numbers divisors ‘i’ and ‘num/i’ will be the same, in this case just add only one divisor. Finally, add one as one is divisor of all natural numbers.

Try solving now

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Zoho Corporation
1446 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Zoho Corporation
1141 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 8 problems
Interviewed by Zoho Corporation
1599 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 4 problems
Interviewed by Zoho Corporation
2007 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes