Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I search backwards from the EOL point, but cache the result of each node to avoid duplicate work. That way if there are nodes which end up doing nothing, I don't ever calculate them.
So, you're memoizing instead of searching a correct ordering to transmit all the data, am I right?
(btw...)
Yes, I remembered that. What I mean is that the info should rather be in the
point 4point 3. Something likeI thought this would make it clear, but I'll add an explicit note about it.
EDIT: should be crystal clear now ..
note: what about this one?
Yes, I've explained this in the description now.
ok. Seems a bit weird to me, but fine.
Alright :) All points have been addressed. I keep the array as output, as I want it to be consistent with my input, which is also an array.
yeah, I suspected something like that. But it's not about adding another visualization at all, it's about adding a clear spec. The diagrams are kinda cool, but it's overly complicated to extract logical information from them.
Concretely, let's says an Adder receives 1,2 and 4,7 from tow inputs, I guess the ouput is then every possible combinations of the inputs? Hence
5,8,6,9
? You just have to say this, no need for another ascii art. ;)I'll rewrite parts of the description to make things more clear. However, about the issue you logged concerning:
Since a set of distinct numbers should be returned for each component, timing calculations are irrelevant.
I'll add a visualisation for each component type to show how numbers flow through these components.
Initial example clarified. I'll check your suggestions/issue above.
Suggestions part:
Both "A" and "M" are only active when both inputs are connected.
What about no output? (this point seems redundant with the point 4 => maybe remove one?)
Also, what's the behavior of
J
with multiple different inputs? can this happen? not? -> This should be specified here.(except Extractors without incoming and End-of-Line without outgoing)
must be removed. By specs, these do not exist. Talking about this would imply the opposite.Issue part:
Cheers
Honestly, I understand so little to the first section of the description that I really have a hard time to just find the motivation to read the following sections. Especially when considering there are (afaics / edit: I finally saw the examples... => at the very least, one should be clearly visible) no concrete exemple of inputs -> outputs. This is really lacking (imo, you should give that at the end of the first section. Also there is an adder in there, but it's never talked about in the diagram (upper part) => ??)
Nice kata!
Loading more items...