Implement polynomial multiplication API in C | NVIDIA Interview Question