Steve McConville  committed 97557ec

other approach

  • Participants
  • Parent commits f274f43
  • Branches default

Comments (0)

Files changed (1)

File 8/solution.clj

   (apply * (map #(Integer. (str %)) t)))
 (println (last (sort (map from-char-multiply (filter nonzero? candidates)))))
+  Other idea that occurred to me just as I was finishing - start with maximum
+  "99999", regex search for it, then move on to "99998", "99989"... etc and so
+  on until a match is found in the string.