Skip to content

shaliake/DanskeHomeWork.API

Repository files navigation

We need Web API number ordering solution. This solution should have 2 endpoints:

    • We can pass line of numbers from 1 - 10 (few can be skipped) and these numbers should be ordered and saved to file (for ex. result.txt). For ex. we pass 5 2 8 10 1, this file should be saved with following content 1 2 5 8 10
    • We should be able to load content of latest saved file

Requirements:

    • .Net Core project
    • Business service(s) with unit tests
    • Sorting algorithm should be written yourself for ex. bubble sort (it would be nice if this algorithm would be able to handle any size of numbers not only 1 to 10, .NET definitions might be the limit here)
    • Put source code in GIT.
    • Use dependency injection

Bonus points:

    • Multiple sorting algorithms are used and time performance is measured between them.

About

An homework assigment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages