Vivint interview question

Strings, Arrays, Binary Trees