How do you take millions of users with 100's of transactions each, amongst 10000's of products and group the users together in a meaningful segments?
How can you solve a problem that has no solution?
Write a function to check whether a particular word is a palindrome or not.
How can you decide if one algorithm is better than the other?
Explain the Canny's Algorithm.
What do you mean by Data mining?
A lot of questions were asked on sorting for eg. Best algorithm on the basis of number of swaps, number of comparisons etc.
Define Routing Algorithm?
Give a general algorithm for converting a m-array tree to a 2-ary tree.
Give an example of an O (n) algorithm and O (n*n) algorithm such that the algorithm is slower.
Given a series of positive integers. Design an efficient algorithm that can detect pairs whose sum is equal to K such that K = ei + ej, and (i not equal to j).
Given a sorted array of n integers that has been rotated i(unknown) number of times, give a (log n) algorithm that finds an element in the array.
Sorting algorithms and time complexity of various algorithms.
What are the complexities of sorting algorithms and how can this complexity be calculated?
Why size of integer depends on the machine architecture then what the best sorting algorithm and why?