Skip to content

reshordling/merchant-riddle

Repository files navigation

merchant-riddle

Requires Java 11+

$ ./gradlew build run

Execute
./gradlew run --args='/absolute/path/to/example.txt'

$ ./gradlew build run --args='example.txt'

shuurs 1
Maximum profit is 8.
Number of fluts to buy: 4
shuurs 2
Maximum profit is 40.
Number of fluts to buy: 6 7 8 9 10 12 13

If there is no reason to purchase any fluts, then the application shows profit as zero.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages