Licious Interview Question

I only remember 2nd round question. Implement Singleton Data structure using Go Routines.

Interview Answer

Anonymous

Aug 10, 2022

I used the concept of wait groups to implement it. However, better approach was to use Once() function from sync package.