Skip to content

Commit

Permalink
Improve variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
terenceponce committed Nov 28, 2023
1 parent 7c0eb66 commit d0a1530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/solutions/00001_two_sum/two_sum.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ defmodule LeetCodePractice.Solutions.TwoSum do
nil ->
{Map.put(map, num, index), result}

other ->
{map, [other, index]}
match ->
{map, [match, index]}
end
end)
|> elem(1)
Expand Down

0 comments on commit d0a1530

Please sign in to comment.