Would anyone know which node or a way to check the pairs in a list that have equal elements and create a list with these elements?
pairs: (A,B) / (B,C) / (D,E) / (E,F);
Repeating elements: B and E;
New list: (A,B,C) / (D,E,F).
In other words, recognize repeated elements and group them into a new list.