Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit baa162f

Browse files
committed
Fixed incorrect type that was spotted by dialyzer
1 parent 2b3124b commit baa162f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

w1/divisible_pairs.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule HackerRank.W1.DivisibleSumPairs do
2121
2
2222
"""
2323

24-
@spec challenge(integer(), integer(), list[integer()]) :: integer()
24+
@spec challenge(integer(), integer(), list(integer())) :: integer()
2525
def challenge(_n, k, arr) do
2626
# This is a recursy' thing
2727
count_pairs(k, arr, %{}, 0)

0 commit comments

Comments
 (0)