Singleton and Prototype Design Patterns
Filed under Tech Mahindra
The question
Explain the Singleton design pattern and why it is needed, as well as the Prototype design pattern with a practical use case.
No write-up yet. Related questions below have one.
Related Tech Mahindra questions
Collected from public candidate posts and coding forums. Updated Nov 2026.