Frage im Vorstellungsgespräch bei ElasticRun

breadth-first search algorithm and SQL query to count distinct using group by