Design a thread-safe singleton
Filed under Paytm
The question
Design a singleton class, make it thread-safe, and optimize with double-checked locking.
No write-up yet. Related questions below have one.
Related Paytm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.