This project is a simple maven project with solutions for the problem set defined.
This project can be built with Apache Maven. Pre-requisites: Java 1.8
Use the following steps to run the application locally: After downloading the project, navigate to the root folder(where pom.xml file is available) in the command prompt.
-
Execute full Maven build to set up the project locally. This will also run the test cases completely.
$ mvn clean install
-
Use the following command to run the test cases:
$ mvn test
-
The solutions are written to listen the system in for inputs. There are three Java files with main class BalancedStringSolution MaximumDifferenceSolution MovieTitlesSolution
-
All these java classes has a main method, which receives the input in the format defined in the problem set from the system in.
-
Running the main method with proper inputs will print the outputs in the system out.