JMD group interview question

How to implement async queue