Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.19 KB | None | 0 0
  1. Input:
  2. [
  3.   ['a', 'b', 'c'],
  4.   ['d', 'e'],
  5.   ['c', 'e'],
  6.   ['f', 'g']
  7.   ['g', 'j']
  8. ]
  9.  
  10. ======================================
  11. Output:
  12. [
  13.   ['a', 'b', 'c', 'd', 'e'],
  14.   ['f', 'g', 'j']
  15. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement