Available question text
Given a string and a threshold d, count the number of pairs of substrings of the same length whose Hamming distance is at least d. The core challenge is to efficiently compare many substring pairs (avoid brute force) using techniques like rolling hashes, suffix/substring indexing, bitsets or convolution to compute mismatches quickly.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1794. Count Pairs of Equal Substrings With Minimum Difference
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source