Pergunta de entrevista da empresa TransPerfect

The technical interview covered Java8 collections, some basic coding problem to test knowledge of data structures and some code samples that I had to analyze and suggest improvements / notice issues. Also - how do you diagnose and track down a memory leak?