Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

Zoho Interview Experience | Set 37 (Java Developer)

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

Round 1: There were 20 Aptitude Questions and 10 Java MCQ.No C or C++ questions.

Round 2: This time it was quite easy ..

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!

1.Given a String with or without special characters find if it is Palindrome or Not.. No splitting of array must be done or No additional spaces must be used for storing the array..



Eg: RACE CAR

Eg: I DID, DID I ?

2. Given an array of integers of size n. Convert the array in such a way that if next valid number is same as current number, double its value and replace the next number with 0. After the modification, rearrange the array such that all 0’s are shifted to the end.

Input : arr[] = {2, 2, 0, 4, 0, 8}
Output : 4 4 8 0 0 0

Input : arr[] = {0, 2, 2, 2, 0, 6, 6, 0, 0, 8}
Output : 4 2 12 8 0 0 0 0 0 0

3 . TWISTED PRIME NUMBER

A number is said to be twisted prime if it is a prime number and reverse of the number is also a prime number.

Input : 97
Output : Twisted Prime Number
Explanation: 97 is a prime number
and its reverse 79 is also a prime
number.

4.Given an array A[] and a number x, check for pair in A[] with sum as x.

Eg : Input {1, 2, 4, 3, 5, 6}
SUM : 5
Output : 2 (1, 4) & (2, 3)

5.Largest Sum Contiguous Subarray
(Kadane’ Algorithm )

6.Diamond pattern : for given input size -> Here 3

  *
 ***
*****
 ***
  *
My Personal Notes arrow_drop_up
Recommended Articles
Page :