This is my solution to the Google HashCode 2019 Photos problem. It uses a basic algorithm to pair images and then shuffle them randomly in the hopes of finding a match that scores higher in the judging system.
This turned out to be a relatively effective tactic, with my team coming in the 43rd percentile worldwide despite minimal planning beforehand.
Please ignore the terrible function names; it's a competition I'm not going to write the cleanest code :D
Also yes, I know that I should split Java classes across multiple .java files. It was easier to upload this way.