Sum of Two Elements
Given a target number and integer array, find all unique pairs of elements whose summation is equal to the target number. Java solution explained in detail on my website.
Steps to set up development environment in Eclipse
Download or clone the project from GitHub.
Navigate to the project directory and run the following from the command line:
$ mvn package
Open Eclipse in order to import the project.
File -> Import -> Maven -> Existing Maven Projects (Navigate to folder and import)
The Main class in the com.chrisbaileydeveloper.sumoftwoelements package holds the solution.
The MainTest class in the com.chrisbaileydeveloper.sumoftwoelements package holds the JUnit test cases.
Windows 7 64bit, Eclipse IDE STS Luna 4.4.1, Maven 3.1.0