summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application/d03p01.ml
AgeCommit message (Collapse)Author
2025-12-08refactor(2025,ocaml): use result type for answers to allow for returning errorsDJ O'Leary
2025-12-07feat(2025d3p1): started on alternative solutionDJ O'Leary
Alternative solution is to scan each line once to find the index of the largest left-most and non-final digit. Then getting a substring of the line [idx, len) and finding the largest digit in that substring. These digits concatenated together should be the biggest 2 digit number that can be made from the line
2025-12-06feat(2025d3p1): partial solution, getting the wrong answerDJ O'Leary
Manually did entire real input and codified into tests but even sum of manual answer is wrong. Code fails for some lines of real input and these failing lines have been reduced into regression tests. work-in-progress: true
2025-12-04docs(2025d03p01): add implementation planDJ O'Leary
2025-12-04feat(2025d3p1): create skeletonDJ O'Leary