Docusign interview question

Coding interview problem that required pseudocode and Big-O notation