Skip to content

aptandon/InterviewTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreeParser

Description

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.

Usage

TreeParser.exe "15,10,22,4,12,18,24"

Dependencies

  • .NET SDK
  • Xunit (for unit tests)

Build and Run

  1. Clone the repository.
  2. Open a terminal in the project directory.
  3. Build the project using the following command: dotnet build
  4. Run the application with the desired input. (dotnet run --project TreeParsing "15,10,22,4,12,18,24")

Running Tests

To run the unit tests, use the following command: dotnet test

About

Tree parsing task for interview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages