Get Unique String(help me to understand this question)

Can any one help me to understand this question .

// A == B
// A == C
// output
// A, B
// C

abcde, abc5e, a1cde

abc5e, abcde, a1cde

abcde

// abc, azc, azb
// abc == azc
// azc == azb
abc
azb

i need to find similar unique string ?

Comments (1)