virtual-labs-archive / data-structures-iiith

This repository contains sources to Data Structures Lab IIITH.
https://cse01-iiith.vlabs.ac.in/
Other
1 stars 73 forks source link

Polynomials via Linked Lists_Simulation #233

Open pranav-kirsur opened 5 years ago

pranav-kirsur commented 5 years ago

Defect Description: The simulation should allow polynomials to have negative coefficients. However the simulation gives a improper answer with negative coefficients.

Steps to reproduce the issue: Go to the experiment list and select the Polynomials via Linked Lists experiment. Then select Polynomial Operations. Enter a polynomial that contains one or more of the coefficients as a negative, for example, 1,0 and the second polynomial as -1,0. Now click add.

Expected result: The simulation should show zero polynomial as result.

Actual result: Simulation proceeds and gives no result.

negativenummult resultforneg