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.
Approved!
OCaml translation
Most intelligent LLM user
Typo:
Deep-first search
->Depth-first search
.Python new test framework required.
Please do not change translations and invalidate existing solutions without any discussion. I will revert your changes.
Performance requirements are wildly inconsistent between languages.
Most accept brute force, but some require a proper solution.
fixed
OCaml function name should be
snake_case
I swear I have used it on CW before.
The documentation does not mention that this method requires Batteries 3.7.0 (CW has 3.6.0) or OCaml 5.1.
Python, probably others:
Python new test framework required
https://ocaml.org/p/batteries/3.9.0/doc/BatMap/String/index.html#val-of_list
I don't see
Map.String.of_list
in Batteries.It is a common OCaml practice to raise an error instead of returning optional results. But optional results are also acceptable.
Loading more items...