In general there are "good" corner cases to questions, like input is empty string, etc.
But this question's unit test contains t<0 or k<=0. This is insane because the question explicitly says "abs diff < t" and "distinct numbers" .
These corner cases do not make sense
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.