Netenrich Inc. interview question

Elastic Query