update the comment in day 15.1

This commit is contained in:
ryan 2023-11-20 18:34:44 -08:00
parent 6758130700
commit 2887274ad9

View File

@ -88,8 +88,8 @@ let%expect_test "Day 15.1" =
|> Iter.sort_uniq ~cmp:Int.compare
in
(* iterate thru the intersections by ascending x.
if a point in the region can be a beacon,
then every point in the region is. *)
if a point in the region between two intersections can be a beacon,
then every point in the region can be. *)
let rec count_not_beacons count xs =
match xs with
| lx :: hx :: rest ->