Word ladder: Difference between revisions
Content deleted Content added
→{{header|Julia}}: variable names |
|||
Line 38:
=={{header|Julia}}==
<lang julia>const dict =
function targeted_mutations(str::AbstractString, target::AbstractString)
Line 49:
for j in 1:length(s), c in 'a':'z'
w = s[1:j-1] * c * s[j+1:end]
if
push!(newworking, [arr; w])
end
|