remove double input parsing function

This commit is contained in:
Jonas Seiler 2023-06-16 10:21:36 +02:00
parent 859f324b89
commit 6ca74d2711

View File

@ -17,14 +17,6 @@ function readInput(filter=(x->true))
return sort(words)
end
function readInput2()
words = Vector{String}()
for line in eachline("wordlist-german.txt")
push!(words, line)
end
return sort(words)
end
function longest()
words = readInput2()
maxLength = maximum(length, words)