Xpanxion interview question

Question on previous work and based on that technical round