To be frank I am getting tired of the corner cases in this question

  • 0

    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

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.