Given a sorted array of positive integers, rearrange the array alternately i.e first element should be the maximum value, second minimum value, third-second max, fourth-second min and so on. Examples:...
Given two arrays, the task is that we find numbers which are present in first array, but not present in the second array....
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the addition of two input numbers. It is not allowed to modify the lists. Also, not allowed to use explicit extra space (Hint: Use Recursion)....
Given an array of integers, print the array in such a way that the first element is first maximum and second element is first minimum and so on....
Hello Everyone! I applied to Zoho off-campus drive for a software developer role. There are 5 rounds in this interview process....
Given a string str, the task is to find the longest substring which is a palindrome....
Given an array, print the Next Greater Element (NGE) for every element....
Round 1: Programming (L1) and Aptitude....
First Round:
Written, pen paper based. The candidate has to write the output for C programs and basic aptitude questions. Total 30 questions. Test duration was of 3 hours....
Given two numbers represented by two linked lists, write a function that returns the sum list. The sum list is linked list representation of the addition of two input numbers. It is not allowed to modify the lists. Also, not allowed to use explicit extra space (Hint: Use Recursion)....
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 ‘*’...
Given coordinates of four points in a plane, find if the four points form a square or not....