Apple logoApple
CodingMembers

Alias Group Mapping

Members only

Given pairs of words that are bidirectional aliases under a transitive relationship, return a map for every connected alias group. Each key is the lexicographically smallest word in its group, and eac...

SWE
union-find
graph
hashmap
sorting
medium
Frequency
Single report
Last asked
2026-07-27
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...