Use linked list for current solution