SharpSoft interview question

System design Big o Notation