Draft
Spiders in Space!
8RNOH
Loading description...
Algorithms
Lists
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
I like the concept of the branching "web" but in reality it has almost nothing to do with the actual solution. If you develop this idea into a more difficult/involved task, I think it would be a lot more interesting.
This comment has been hidden.
I have made the changes Hopefully it is understandable now!. Thank you :)
Order of coordinates in output lists is not specified.
I did not understand what "Value" meant in the description until I looked at the sample tests. Maybe you should have some examples where Value is something other than 2.
str
,Tuple[str, List[List[int]]]
,List[List[int]]
.'no trajectory?!'
, while in sample tests its'No trajectory!'
...1, 3, 4 are resolved.
2 -- it's better now, but it's still multiple output types, namely
List[List[int]]
andstr
.5 -- the description is still hard to comprehend. Main point was, yet again, outlined by JohanWiltink: Give specs first, then examples. Examples should clarify specs, not introduce them.
Specs as in rules? because i have given them before explaining the examples, or something else?.
No, you haven't.
You should explain that the input is
List[int]
, and the meaning of input.You should provide exact output type and format (in case of strings output, you should write strings that a user has to return, i.e.
'No trajectory!'
)You should explain the general picture, before coming to details. You are writing
The number 1 in a sequence has an important function which is to converge any number of branches to 1.
, while you haven't provided an explanation, that user will be given a sequence, and what a branch is, and so on.How about now i think i have covered most of the points hopefully!.
It is much better now.
Some points are still dubious, though:
The number 1 in a sequence has an important function which is to converge any number of branches to 1.
Specify, that in only converges those branches, that... khem, branched on 1 stage. I.e., if you have beginning of sequence[1, 2, 3]
, there will be2 * 3 == 6
branches total. The next1
doesn't converge all branches, but only those that branched on the stage with3
.Move section
Return types
before example section and mark it with header.It's still not really good, that you have multiple return types. Especially, that in some cases you have lists with 2 elements, and in some cases with 3 elements. I will not suggest an improvement here, though.
Okay i understood your points, ill try work out something. Thank you!.
The description could be improved.
Give specs first, then examples. Examples should clarify specs, not introduce them.
Also, don't contradict yourself: "The number 1 has one important function"; then you give two functions ?!? Be consistent!
For 80% of description I thought that the task was parse or generate ascii diagrams with
/\_
!