Licious interview question

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

Interview Answer

Anonymous

10 Aug 2022

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