@Atul---

Read the Comment carefully .
 I told :-

"For  finding the triplet we need to have a equation of the form :
f(x) ^3  + af(x)^2 + b f(x) . need to to find the cofficient of a
and b  where f(x)  is the polynomial formed from the elements in the
given set. This method will suffice the time limit with n<= 40000 "

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to