1p3a Question · Feb 2026

Count Disjoint String Pairs

Question Details

# Count Disjoint String Pairs Given an array of lowercase strings `words`, return the number of unique index pairs `(i, j)` such that `i < j` and the two strings share no common characters. Two string

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Strings