Skip to content

Instantly share code, notes, and snippets.

Pedro Diogo PedroDiogo

View GitHub Profile
@PedroDiogo
PedroDiogo / solution.rb
Created May 2, 2012 — forked from isa/gist:2571012
Convert in less than 30 lines
View solution.rb
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
You can’t perform that action at this time.