Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
891 views

Execute promise tree in order of declaration

I have created a little framework for my work to manage loading and unloading plugins by using a modular tree structure that is based on Promises. I would like to be able to create the tree structure,...
synthet1c's user avatar
  • 143
3 votes
1 answer
7k views

Binary search tree in C++, and display, search and delete functions

I feel ready to show you my work on creating BST in C++ using double linked list and 3 more functions for manipulating the tree. There is also one more function checking if the tree is real or not. ...
Top4o's user avatar
  • 195
2 votes
1 answer
2k views

Folding with trees

I was trying to implement a foldTree function to generate a balanced binary tree from a list of values using foldr (Question 2 ...
user2179293's user avatar
6 votes
1 answer
984 views

Functional, but not recursive, tree traversal

To learn tree traversal i implemented os.walk, tail-recursive and stack-based. Unfortunately Python doesn't support tail call optimization. How do i rewrite my ...
Mirzhan Irkegulov's user avatar