|
last on free response
What did you put for the last one? I'm curious because you seem sure of yourself and I am not. I put something like.
if(not at a leaf) return recall(char, left, string+"0") + recall(char, right, string+"1");
else (if char=letter) return pathsofar;
return "";
|