Brute Force code for solving general problems in math and logic.
The class called AllPossibilities
is the important class which includes getNext()
method for incrementing to the next trial values.
Check the main()
method in TryAllPossibilities
class to understand the usage case.