Veeva Systems interview question

Basic coding, algorithms