Q1
Find the path in 2 Dimensional array which has the most 1
For ex: If array has values
1 1 0 1 0 1 1 0 1 0 0 1
So here the path containing max 1 is arr[0][0], arr[0][1], arr[1][1], arr[1][2], arr[1][3] and arr[2][3]
Q2
Balanced BST
6
3 8
1 4 7 12
sum = 16 o/p should be 4 and 12
Q3
URL Detection
1) Detect url assuming that MS Word engine streams the characters to your function BOOL DetectURL(UCHAR chUserCharEntry) 2) Once #1 is completed then execute the url from IE
Q4
Linked List In C
Q5
Which fortune teller to choose
If you were trying to get the best prediction of your future, which fortune teller would you go to? • first • second • third • fourth • fifth
Q6
Find the number of times each character occurs in the string.
eg teddy d= 2 e=1 t=1 y=1
Q7
Find position of a string in another string
Q8
Find position of a string in another string.
Q9
Find frequency of characters in a string.
Q10
Program to print all permutations of a given string.
Below are the permutations of string ABC. ABC, ACB, BAC, BCA, CAB, CBA