Docusign interview question

Basic algorithms