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.
This comment is hidden because it contains spoiler information about the solution
@ticking,
Here it is:
You are right!
I missed this. In this case of course A will be much faster...
And now I am confused :)
So here is what we have:
A: fastest for vectors, slowest for linked lists
(AA: same fast for all, but much slower than A for vectors, and still slower than C)
C: not fastest as can be for vectors, but fastest for linked lists.
And now comes the question: What would be the most idiomatic clojure way to implement such penultimate function assuming it will live somewhere in clojure.core?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution