- Platform: Linux/MacOS
- JDK Version: java 1.8
-
Enter the project's root directory
-
To run
Basic
algorithm, usebasic.sh
as follows:
bash basic.sh $(InputFilePath) $(OutputFilePath)
For example:
bash basic.sh SampleTestCases/input2.txt ./output.txt
- To run
Efficient
Algorithm, useEfficient.sh
as follows:
bash efficient.sh $(InputFilePath) $(OutputFilePath)
For example:
bash efficient.sh SampleTestCases/input2.txt ./output.txt