Find the longest palendrom in a string?
Example
Input: abfgerccdedccfgfer
Output: ccdedcc
i want a solution in C/C++ language

702

what is the number whose reminder is 2 after dividing 5and
also reminder is 4 after deviding 7 and reminder is 6 after
deviding 9?

470

Four friends are given named Akansha, Anuska, Anisha, ... ,
... Each of them live in a separate home and sleep on one
bed. Akansha and Anuska have two extra beds, two of the
house have green lawns while the rest have narrow porchs,
One of the house has Airconditioner while the rest have fans

593

5) Failure to use null indicator variable when referencing a
nullable column will give the following SQLCODE
a) +150
b) –001
c) +276
d) +305

296

Why RSD of area limit is 15?

49

highest power of 25 that divides the product of the first
100 multiples of 5,74,100,62

2499

Jane works at a fashion design company,and is having
problems getting dressed for work. She refuses to wear any
color combination that does not go well together as many of
her clients may look down upon this.
She has two pairs of skirts, brown and blue; three blouses,
white, sky blue, and gray; four pairs of stockings, red,
black, brown, and blue; and two pairs of shoes, black and
brown.
The blue skirt cannot be worn with red or brown stockings.
Gray does not go well with brown.
Black does not go well with brown.
1. If Jane wears black shoes she will not wear:
a) red stockings.
b) a blue skirt.
c) a white blouse.
d) blue stockings.
e) a sky blue blouse.
2. If Jane is color blind and is unable to determine what
outfits went well together, how many possible clothing
combinations could she have?
a)24
b)32
c)36
d)44
e)48
3. If Jane wears a brown skirt and a white blouse, she
could:
a)not wear blue stockings.
b)not wear brown shoes.
c)not wear black shoes.
d)wear blue stockings.
e)wear red stockings.
4.Jane buys a gray scarf. If she wears the new scarf, then
she could:
a)not wear blue stockings.
b)not wear brown stockings.
c)not wear black shoes.
d)wear a white blouse.
e)wear black stockings.
5.Jane will never wear:
a)blue and red together.
b)white and red together.
c)gray and blue together.
d)white and black together.
e)white and red together.

944

aptitude questions

664

If I have to measure all weights from 1 kg to 121 kg, what is
the minimum number of weights I should keep?
1.1 2.5 3.13 4.21

7053

I need Matrix and Series questions with solutions.

387

1. Profit and loss problem..
Two mercants sold a good of worth Rs 1000 from which one
merchant A got profit from selling prices and merchant B got
profit form cost price and profit for both is 25% what is
difference amount.?
2.5lts solution bottles in which 4 lts of solution is filled
in which 15 % of salt is mixed,1.5 lits solution is fell out
and it is filled with water how much of salt content is
present..?
3.Square of 21 cms and bull was tied at corner with rope of
7 cms how much area it can graze...
4.A and B can do a work 15 and 20 days respectively form
which A as done half of the work and then b joind then it
done 1/20th work how much many days in which a complted work
which left by B.

278

There is a lucky draw held every day.
If there is a winning number eg. 1876, then all possible
numbers like 1867 ,1687,1768 etc are the numbers that match
irrespective of the position of the digits.
Thus all these numbers qualify fr the lucky draw prize.
Assume there is no zero digit in any numbers.
Write a program to show all the possible winning numbers if
a "winningnumber" is passed as an argument to the function.
i want a solution in c/c++ language

489

What does cajole means?

29

hi had any body attended bank of interview plz........ share
your experience