Write a program the reads expressions and optimizes them. Minimize the number of accesses to array element. Using a new (generate) variable, substitute usage of the same elements of an array with the same value. Define syntax of Expression.
Code: 32-Opt2
Install dependancies
npm install
Run all the tests
npm run test