I have a list of graph edges. E.g.
{"woods" <-> "woody", "aback" <-> "alack", "tummy" <-> "yummy", "tumor" <-> "tutor"}
How can I compare the vertices to extract the same letters?
Coming from another programming language, I know how to do this using a nested loop and by comparing the characters, but this seems remarkably inappropriate.
{"wood", "aack", "ummy", "tuor"}
$\endgroup$