hi shashank, for sparse polynomial addition we prefer use of linked list.for more detailed explanation http://code-forum.blogspot.com/2010/11/polynomial-addition.html
for getbits function http://code-forum.blogspot.com/2010/11/getbits-function-in-c.html visit these links and post your comment if any problem or some optimization required. On Dec 21, 4:52 pm, bittu <shashank7andr...@gmail.com> wrote: > Write a function getBits that gives bits from a given position p of a > given number n. > > Diff between typedef and #define? > > Suggest DS for polynomials. Write C program to add two polynomials. > > Regards > Shashank -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@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.