โ† HashedIn questions

Count distinct pairs with difference k and longest substring

Filed under HashedIn

The question

Implement solutions to count distinct pairs in an array with a given difference k, and to find the length of the longest substring without repeating characters.

No write-up yet. Related questions below have one.

Related HashedIn questions

Collected from public candidate posts and coding forums. Updated Nov 2026.