Pregunta de entrevista de ServiceNow

Questions regarding garbage collection, heaps, trees and other data structures?