Word ladder: Difference between revisions
m
C++ bug fix
(Added C++ solution) |
m (C++ bug fix) |
||
Line 84:
return true;
}
[&next](const std::string& str) {
return contains(next, str);
})
for (const auto& str : next) {
std::vector<std::string> temp(curr);
|