solutions data structure