Lucid Software Interview Question

I was asked one sorting question, counting question and a game design question