Wrong test case in submit for the word break 2 in dp

programming
google
Tags: #<Tag:0x00007f2425345fd0> #<Tag:0x00007f2425345e18>

#1

`A : “aaabaaaaab”

B : [ “aabbbaaa”, “aaba”, “a”, “b”, “a”, “babbbabb”, “baaaab” ]`

Your function returned the following :

a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a a a b a a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b a aaba a a a a b

The expected returned value :

a a a b a a a a a b a aaba a a a a b

The expected answer is incorrect , the {aaba} could be split again as { a a b a}