Hello !
I did not participated officially on the Hashcode 2018 but implemented a solution for it that only requires sqlite3 command line and the data files, and thought it could be of your interest to know about it and maybe give you ideas to improve your and maybe mine.
https://github.com/mingodad/sqlite3-hashcode-2018
Cheers !