Hi,
This looks like a fun project to refresh my algorithm study from school. The code that I write will be commented, and I'll clearly explain what is going on at each step. After every method call, I will demonstrate what the binary tree looks like for both problems.
Jake