3 people like it.
Like the snippet!
This sample show how to use seq-yield syntax to convert a binary tree to a sequence of elements.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: |
|
Link: | http://fssnip.net/7TY |
Posted: | 7 years ago |
Author: | Dmitry Soshnikov |
Tags: | binary tree , seq , yield |