X

# Yahoo  Questions

View By:

Q11 In how many ways can you represent a number as a sum of positive integers?

Given an integer n, you have to give the number of ways in which n can be represented as sum of positive integers.

Check if a given linked list is palindrome or not

Q13 Write an algorithm to find if a tree is binary search tree or not in O(n)

Write an algorithm to find if a tree is binary search tree or not in O(n).

Q14 How to implement a T9 dictionary?

What is the data structure that can be used for implementing a T9 dictionary.

Q15

Count the number of unique element in array of numbers in minimum time complexity.

Q16 How to implement a queue using two stack?

Use 2 stacks to implement a queue.

Q17

Given one unsorted integer array, find out all the unique element in the array.
eg: Input: {23,53,1,3,6,23,1,7,9,53,9} Ouput;{3,6,7}

Q18 What is web service?

What is web service?

Q19 Difference between COM and CORBA.

What is the difference between COM and CORBA?

Q20 How does HTTP works?

How does HTTP works?