Find shared objects across two log files | Google Interview Question