Skip to content

Instantly share code, notes, and snippets.

@t3t5u
Last active November 5, 2015 11:06
Show Gist options
  • Save t3t5u/9f8c658889e7011d53f1 to your computer and use it in GitHub Desktop.
Save t3t5u/9f8c658889e7011d53f1 to your computer and use it in GitHub Desktop.
Tree
#{ 1 => #{ 11 => #{1112 => #{}},
12 => #{1121 => #{},
1122 => #{},
1211 => #{},
1212 => #{ 122 => #{},
1111 => #{}}},
111 => #{1221 => #{},
1222 => #{}},
112 => #{ 121 => #{}}}}.
#{ 11 => #{ 121 => #{1121 => #{}},
122 => #{},
1111 => #{},
1112 => #{},
1122 => #{1211 => #{},
1212 => #{},
1221 => #{},
1222 => #{ 1 => #{ 12 => #{},
111 => #{},
112 => #{}}}}}}.
#{ 12 => #{1121 => #{},
1122 => #{1221 => #{},
1222 => #{ 1 => #{}}},
1211 => #{ 11 => #{}},
1212 => #{ 112 => #{ 111 => #{}},
121 => #{1112 => #{}},
122 => #{},
1111 => #{}}}}.
#{ 111 => #{ 1 => #{ 12 => #{},
112 => #{ 121 => #{}}},
11 => #{ 122 => #{},
1111 => #{},
1112 => #{}},
1221 => #{1121 => #{},
1122 => #{},
1211 => #{}},
1222 => #{1212 => #{}}}}.
#{ 112 => #{ 12 => #{},
111 => #{ 1 => #{},
11 => #{},
1221 => #{1211 => #{}},
1222 => #{}},
121 => #{ 122 => #{1122 => #{},
1212 => #{}},
1111 => #{},
1112 => #{},
1121 => #{}}}}.
#{ 121 => #{ 122 => #{1122 => #{},
1211 => #{}},
1111 => #{ 1 => #{ 112 => #{ 111 => #{}}},
11 => #{},
12 => #{},
1222 => #{1212 => #{},
1221 => #{}}},
1112 => #{},
1121 => #{}}}.
#{ 122 => #{1122 => #{},
1211 => #{ 1 => #{},
11 => #{},
12 => #{}},
1212 => #{ 112 => #{ 111 => #{1222 => #{}}},
121 => #{},
1111 => #{}},
1221 => #{1112 => #{},
1121 => #{}}}}.
#{1111 => #{ 1 => #{ 111 => #{1221 => #{1121 => #{},
1122 => #{},
1211 => #{}}},
112 => #{ 121 => #{}}},
11 => #{ 122 => #{1212 => #{}},
1112 => #{}},
12 => #{},
1222 => #{}}}.
#{1112 => #{ 111 => #{ 1 => #{ 12 => #{}},
11 => #{1111 => #{}},
1221 => #{1121 => #{},
1122 => #{},
1211 => #{}},
1222 => #{1212 => #{}}},
112 => #{},
121 => #{},
122 => #{}}}.
#{1121 => #{1111 => #{},
1112 => #{},
1122 => #{ 121 => #{ 122 => #{}},
1211 => #{ 1 => #{},
11 => #{},
12 => #{},
111 => #{}},
1212 => #{ 112 => #{}},
1221 => #{},
1222 => #{}}}}.
#{1122 => #{1211 => #{},
1212 => #{ 112 => #{},
121 => #{1112 => #{},
1121 => #{}},
122 => #{},
1111 => #{}},
1221 => #{},
1222 => #{ 1 => #{ 11 => #{},
12 => #{},
111 => #{}}}}}.
#{1211 => #{ 1 => #{ 112 => #{}},
11 => #{ 121 => #{1121 => #{}},
122 => #{1122 => #{},
1212 => #{}},
1111 => #{},
1112 => #{}},
12 => #{},
111 => #{1221 => #{},
1222 => #{}}}}.
#{1212 => #{ 112 => #{ 12 => #{},
111 => #{}},
121 => #{1111 => #{ 11 => #{}},
1112 => #{},
1121 => #{}},
122 => #{1122 => #{1222 => #{ 1 => #{}}},
1211 => #{},
1221 => #{}}}}.
#{1221 => #{1112 => #{ 111 => #{1222 => #{}},
112 => #{},
121 => #{},
122 => #{}},
1121 => #{1111 => #{ 11 => #{}}},
1122 => #{1212 => #{}},
1211 => #{ 1 => #{},
12 => #{}}}}.
#{1222 => #{ 1 => #{ 11 => #{},
12 => #{},
111 => #{},
112 => #{}},
1212 => #{ 122 => #{},
1111 => #{}},
1221 => #{1112 => #{ 121 => #{}},
1121 => #{},
1122 => #{},
1211 => #{}}}}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment