Or maybe candidates should submit their answer as a PR to memcached. The interviewer is deriving some value from an open source project, they should contribute to it.
I feel like that could very quickly devolve into a Hacktoberfest spam situation where the memcached maintainers keep having to close unsolicited "add a multiply command" PRs. The feature used in the question was designed to be easy to understand and implement, not actually useful to anyone.