Everpure Interview Question

Q: Implement a set collaboratively step by step in terms of optimisation.