Skip to content

Instantly share code, notes, and snippets.

@PedroDiogo
PedroDiogo / solution.rb
Created May 2, 2012 11:00 — forked from isa/gist:2571012
Convert in less than 30 lines
Question: Convert following into the latter data structure in less than 30 lines:
List:
A, B, C
A, C, E
E, F, D
D, A, J
E, D, J
List