You are to implement a Polynomial class that supports an integer polynomial datatype. Quite often, such a datatype can be implemented using a list or an array. However, our Polynomials will be sparse, meaning that a lot of terms will be zero....
Up To any number of rows. The task here is to generate a pascal’s triangle for n rows and using this find(x+y)^n Example Sample input: rows = 3 Sample output: 1 --> row 0 11 --> row 1 121 --> row 2 1331 --> row 3 Polynomial: (1x^3y^0)+(3x^2y^1)+(3x^1y^2)...