Wikiance Interview Question

Codeing problem and technical question