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

Polynomial-Operations_Simulation #347

Open jiviteshjain opened 5 years ago

jiviteshjain commented 5 years ago

Description:

The 'Multiply' simulation is unable to handle long polynomials. If the input expressions are long enough so that the input linked lists do not fit in one viewport height, the input linked lists get clipped at the bottom, and the rest of the input linked list does not show. The simulations freezes as well and does not run.

Note: This is a different issue than issue #336 wherein the simulation was running but the result does not display on the screen. Here the simulation freezes.

Steps to reproduce:

Go to this page and input polynomial expressions long enough such that the input linked list themselves do not fit in one viewport height. Press Multiply.

Expected Output:

Either the simulation should place an upper bound on the number of terms allowed or it should allow scrolling for the rest of the linked lists to be displayed. It should not freeze at least (not giving any option to the user to go back either).

Screenshot:

Selection_015 (Note that the scroll bar is scrolled to the bottom. Note that the simulation is not running either.)