Amdocs interview question

Detect a loop in structure. what are Hash maps