Zoho Interview Experience | Set 36 (Software Developer)
Round 1:There were 10 C programming questions and 15 Aptitude questions.
Round 2:
1. Given a text and a wildcard pattern, implement wildcard pattern matching algorithm that finds if wildcard pattern is matched with text. The matching should cover the entire text (not partial text).
The wildcard pattern can include the characters ‘?’ and ‘*’
‘?’ – matches any single character
‘*’ – Matches any sequence of characters (including the empty sequence)
Example:
Text = “baaabab”,
Pattern = “*****ba*****ab”,
output : true
Pattern = “baaa?ab”, output : true
Pattern = “ba*a?”, output : true
Pattern = “a*ab”, output : false
2. Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. See following examples for more details.
Consider the following dictionary
{ i, like, sam, sung, samsung, mobile, ice,
cream, icecream, man, go, mango}
Input: ilike
Output: Yes
The string can be segmented as "i like".
Input: ilikesamsung
Output: Yes
The string can be segmented as "i like samsung"
or "i like sam sung".<>
3.Print the following pattern
1 3 2 6 5 4 10 9 8 7 10 9 8 7 6 5 4 3 2 1
4.Given an array as input, The condition is if the number is repeated you must add the number and put the next index value to 0. If the number is 0 print it at the last.
Eg: arr[] = { 0, 2, 2, 2, 0, 6, 6, 0, 8}
Output: 4 2 12 8 0 0 0 0 0 .
Recommended Posts:
- Zoho Interview Experience for Software Developer
- Zoho Interview Experience | Set 29 (Off-Campus for Software Developer)
- Zoho Interview Experience | Set 30 (Off-Campus for Software developer)
- Zoho Interview Experience | Set 27 (Off-Campus for Software Developer)
- Zoho Interview Experience | Set 33 (Off-Campus for Software developer)
- Zoho Interview Experience | Set 39 (On-Campus Drive for Software Developer)
- Zoho Interview Experience | Set 37 (Java Developer)
- Zoho Off Campus Drive | Set 26 (Software Developer)
- Zoho On Campus Drive | Set 24 (Software Developer)
- Zoho On Campus Drive | Set 25 (Software Developer)
- Zoho Interview Experience | Set 9
- Zoho Interview Experience | Set 16
- Zoho Interview Experience | Set 20
- Zoho Interview Experience | Set 17
- Zoho Interview Experience | Set 42(Off-Campus)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



