SpanIdea Interview Question

It was ok. Should be prepared.