Zoho Interview Questions

Zoho Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(104)
SQL
(74)
Machine Learning
(71)
Probability
(33)
Product Sense & Metrics
(29)

Zoho Interview Questions

Practice for the Zoho interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Easy

You are given an N-dimensional array (a nested list) and your task is to convert it into a 1D array. The N-dimensional array can have any number of nested lists and each nested list can contain any number of elements. The elements in the nested lists are integers. Write a function that takes an N-dimensional array as input and returns a 1D array.

Example 1:

Input:

array = [1, [2, 3], [4, [5, 6]], 7]

Output:

flatten_array(array) -> [1, 2, 3, 4, 5, 6, 7]

Example 2:

Input:

array = [[1, 2], [3, 4], [5, 6]]

Output:

flatten_array(array) -> [1, 2, 3, 4, 5, 6]
Data Structures & Algorithms
Medium
Data Structures & Algorithms
Medium
Loading pricing options

View all Zoho Corporation questions

Challenge

Check your skills...
How prepared are you for working at Zoho Corporation?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.