Codify interview question

What are singleton patterns in data structures