add solution for bottom up level order traversal