simple-linked-list: add canonical data#1974
Conversation
|
I am a bit surprised by the property names you're suggesting in this PR, I'm looking at the implementations from some of the most popular tracks: They all include I think the challenge in writing problem specs for this exercise is to choose some representation of linked lists that will be different from a JSON array, to be able to write specifications for properties something like I'm not really sure what should happen in problem specs for this exercise but I wanted to kick off a discussion so that this PR doesn't go ignored. @exercism/reviewers anyone would like to chime in? |
|
I suggested these methods as an indirect way of testing methods, that are subject of the exercise: "lets create a singly linked list to contain the range (1..10), and provide functions to reverse a linked list and convert to and from arrays." (problem description) To test function that creates a list from an array, we should encode somehow a linked list in JSON to check it by
|
references #568 and #587