DataStax interview question

Set problem