You can use a Hash map which maps the coefficients of the equation and their exponents. Is this feasible ??
On Fri, Jul 29, 2011 at 3:10 PM, sunny agrawal <sunny816.i...@gmail.com>wrote: > Array that that stores A,B,C,D,E..... > > it looks like u r on some telephonic interview :P > > On Fri, Jul 29, 2011 at 3:06 PM, Puneet Gautam <puneet.nsi...@gmail.com>wrote: > >> Hi, >> >> pls tell me which data structure has following representation:: >> >> A+Bx+Cx(^2)+Dx(^3)+.......+Nx(^n-1).........?? >> >> reply asap...!! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > > > -- > Sunny Aggrawal > B-Tech IV year,CSI > Indian Institute Of Technology,Roorkee > > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards Rajeev N B <http://www.opensourcemania.co.cc> "*Winners Don't do Different things , they do things Differently"* -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.