September 15, 2025
"banana grape banana apple"
"apple banana banana grape"
"a,b a,c b,d c,d d,e"
"a,b,d,e"
"a,b,7 a,c,3 b,d,2"
BeginsWithA
problemFindPath
is a search problem
HasPath
is a decision problemHasPath(s) = "yes"
if FindPath(s)
returns a non-empty solution path and HasPath(s) = "no"
for all other FindPath(s)
outputs{"yes"}
or {"no"}
startsWithZ
programyesOnString
: uncomputable and undecidablecrashOnString
: uncomputable and undecidablestartsWithZ
: uncomputable and undecidablehasShortestPath
: computable and decidableSortWords
problem:
pythonSort
and bubbleSort
solve itbrokenSort
does not solve it
Proofgrammers