Lucid Software Interview Question

Asked to make an algorithm for a graphing problem or implement some logic for a couple games.