Skip to content

Commit

Permalink
Update access modifier for linq run
Browse files Browse the repository at this point in the history
  • Loading branch information
tacosontitan committed Dec 5, 2024
1 parent 1377f84 commit b0fbd43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static int PartTwoDryRun(
return result;
}

public static int PartTwoLinqRun(
private static int PartTwoLinqRun(
IEnumerable<int> leftList,
IEnumerable<int> rightList) =>
leftList.Select(left => rightList.Count(left.Equals) * left).Sum();
Expand Down

0 comments on commit b0fbd43

Please sign in to comment.