2 ms·This is quite like the trick for flattening binary trees into an array.by User23 8y agoThis is quite like the trick for flattening binary trees into an array.