The idea is to demonstrate a small application (using React) which produces a target figure from a CSV file containing several numbers.
Create a CSV file with the following numbers: 3, 4, 8, 7, 12
The target number is 532 but should be allowed to change.
- You may only use (),+,-,*,/
- You can use each symbol many times
- You can only use each number once
- You do not need to use all the numbers
The app is handling the file upload and temporary storage of the CSV file. Also it is parsing the CSV to extract the numbers.
I also build a processor to take the numbers and calculate the equation to the target number from them.
- React 17.0.2
- TypeScript 4.2
- Jest for testing with mocking examples using @testing-library
- Material UI (feature/material-ui)
git clone https://github.com/mukeshrawat02/csv-solver.git my-projectyarn start- Build and start the app in dev mode at http://localhost:3000yarn test- Run the tests

