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.
should detect invalid parentheses
Log
)
Test Failed
Log
Expected
: false
to equal
: true
Why test want true in case ")"
sry, i'm was wrong.
Expected
<[]string | len:0, cap:0>: nil
to equal
<[]string | len:0, cap:0>: []
I'am run basic tests, its failed, but in goPlayground tests pass. https://go2goplay.golang.org/p/bU57rIF9JMh
why in instructions: return a sorted array r in lexicographical order
but test want not sorted array
Expected
<[]string | len:5, cap:8>: ["cod", "code", "ewar", "ar", "wars"]
to equal
<[]string | len:5, cap:5>: ["ar", "cod", "code", "ewar", "wars"]
Expected
<[]string | len:5, cap:8>: ["ect", "omm", "he", "by", "ve"]
to equal
<[]string | len:5, cap:8>: ["by", "ect", "he", "omm", "ve"]
gj