The Puzzle info
https://plumbr.eu/blog/java-puzzle
The official solution:
https://plumbr.eu/blog/java-puzzle-solution
I solved before the time runs out :)
I just solved a Java Performance Puzzle by @javaplumbr. Are you up for a challenge? https://t.co/UvRFu8wnpX
#java #puzzle #challenge
— Anderson Vaz (@aavaz) December 23, 2014
<script></script>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
This is a Java puzzle calculating a secret. As you might guess, your goal is to discover the secret. With the current version of the application it is going to take ages (we honestly do not know, but on a typical desktop we are speaking about years).
If you are up for the challenge then your goal is to decrease the running time of this application below 30 seconds and discover the secret along the way. If you are able to solve the secret, you will have eternal satisfaction, knowing that you were able to conquer the almighty Java Performance Beasts.
- You are not allowed to change anything in package ``internal''
- The puzzle requires internet connection to acquire input data for the calculations
- The solution reveals a URL. In case you reveal a URL whose DNS record cannot be resolved, you still have some work to do
Use either
#!bash
run.sh
script or
#!java
./gradlew run
command