Zoho Interview Questions
Zoho Interview Questions
Zoho Interview Questions
62
543
9) Find all possible longest increasing subsequences from an given array
Array 0 2 6 4 8 7
Ans :
Maxium length 4
0268
0248
0247
0267
10)
Note: You can use only one loop for your logic.
Two variables apart from the array.
Input array 1,2,3,4,5,6
Output 1,3,5,0,0,0
11)
Given a string , you have to predict whether it can be changed into a palindrome
or not by changing the positions of the characters
Eg. Tests
Yes
Explanation:tests can be changed to tsest or stets
12)
Given an array , find the nth largest and nth smallest number. Sorting should not
be used
17) Given a n (large number) lists of customers who visited n webpages on n (large
number) days, design a data structure to get customers who have visited the website
on exactly "k" days and should have visited at least "m" distinct pages altogether.
35) from java :-------------------------note:-this is the java development based company.so they will ask alot of questions from
java.
you should be must well in java.
all basic questions from:
1.exception handling
2.string
3.collections
4.serialization
5.interface.
36) we have given two hour glass one of 11 minute and one of 7 minute. Then how
will we calculate the15 minute time.
37)
How to find the second largest number in an array???(using single
for loop or through single traversal)
38)
In a given string you should have the count of no of a,e,i,o,u and
others(For eg: I AM SAM
A:2,E:0,I:1,O:0,U:0,others:5(including spaces)).And print them as follows
A:2,E:0,I:1,O:0,U:0,others:5
39)