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.
The specs and data text format is entirely unknown, and tests are very, very weak, so as a kata it's unacceptable.
Needs random tests.
Initial code is incomplete. It needs
using namespace std;
orstd::string
in place ofstring
.Good kata, but it needs more test cases. My first attempt passed even though it still had a whitespace-handling bug. Maybe try
a = { b={c=1 d=2} e={f=3 g=4} b={h=5 i=6} }
with find-string/a/b/h