Our Algorithm - OrianHindi/Polynom GitHub Wiki

Monom Algo:

The String that the algorithm is given sets two parameters : coefficient and power of x.


Polynom Algo:

Polynom algo has two constructors:

  1. constructor generates the data structer.
  2. constructor that gets string and then sends them to a monom department builder and then inserts it to the LinkedList. the algorithm sorts the LinkedList.

Complex Function Algo:

The Compkex Function algorithm uses a binary tree data structure. This algorithm does that by saving the operation in his root, the function/complex function in his left side, and a function/complex function in his right side. (if it detects a polynomial or a monom it turns it into a function). the binary tree is recursively built.