For source see github

No intersection
A B C
Single intersection
AB BC CA
All intersected
ABC