Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chapters/03-funcoes.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ function findSolution(target) {
else if (start > target)
return null;
else
return find(start + 5, “(“ + history + + 5)) ||
find(start * 3, “(“ + history + * 3));
return find(start + 5, "(" + history + " + 5)") ||
find(start * 3, "(" + history + " * 3)");
}
return find(1, “1”);
return find(1, "1");
}

console.log(findSolution(24));
Expand Down