TreeParser is a command line application that constructs a binary tree from a comma-separated list of positive integers and prints the in-order traversal of the tree to the console. The tree structure is also saved to disk in a text format.
TreeParser.exe "15,10,22,4,12,18,24"
- .NET SDK
- Xunit (for unit tests)
- Clone the repository.
- Open a terminal in the project directory.
- Build the project using the following command: dotnet build
- Run the application with the desired input. (dotnet run --project TreeParsing "15,10,22,4,12,18,24")
To run the unit tests, use the following command: dotnet test