← Questions

Polynomial multiplication API in C

0
NvidiaCodingLast asked Feb 2026

Design and implement a small C API for polynomials: a representation, creation and freeing, and a function that multiplies two polynomials and returns a new one. Pay attention to who owns the memory, error handling, and sparse versus dense representations.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding