feat: solve part two using the same logic, twice
This commit is contained in:
1 parent
fd6db0cc65
commit
77a352aa2e
1 file changed
+3
@@ -90,5 +90,8 @@ func PartOne(data string) int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func PartTwo(data string) int {
|
func PartTwo(data string) int {
|
||||||
|
firstPassword := findNextValidPassword(data)
|
||||||
|
secondPassword := findNextValidPassword(firstPassword)
|
||||||
|
println(secondPassword)
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user