WORST_CASE(?,O(n^1)) Solution: --------- "@" :: ["A"(14) x "A"(8)] -(1)-> "A"(0) "Capture" :: [] -(0)-> "A"(0) "Cons" :: ["A"(0) x "A"(14)] -(14)-> "A"(14) "Cons" :: ["A"(0) x "A"(15)] -(15)-> "A"(15) "Cons" :: ["A"(0) x "A"(8)] -(8)-> "A"(8) "Cons" :: ["A"(0) x "A"(0)] -(0)-> "A"(0) "Nil" :: [] -(0)-> "A"(14) "Nil" :: [] -(0)-> "A"(8) "Swap" :: [] -(0)-> "A"(0) "game" :: ["A"(15) x "A"(15) x "A"(8)] -(8)-> "A"(0) "goal" :: ["A"(15) x "A"(15) x "A"(14)] -(11)-> "A"(0) Cost Free Signatures: --------------------- "@" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "Capture" :: [] -(0)-> "A"_cf(0) "Cons" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "Nil" :: [] -(0)-> "A"_cf(0) "Swap" :: [] -(0)-> "A"_cf(0) "game" :: ["A"_cf(0) x "A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) Base Constructors: ------------------ "\"Capture\"_A" :: [] -(0)-> "A"(1) "\"Cons\"_A" :: ["A"(0) x "A"(1)] -(1)-> "A"(1) "\"Nil\"_A" :: [] -(0)-> "A"(1) "\"Swap\"_A" :: [] -(0)-> "A"(1)