Wix interview question

Same old algorithmic data structures questions...