Skip to content

MKruchok/Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab_1

Task

Implement a sorting algorithm - QuickSort(ascending/descending)

Result output

  • Algorithm's name
  • Execution time
  • Counters: swaps, comparisons
  • Sorting result

Code must be covered with tests

  • sort the input array
  • sort in ascending order of sorted array in ascending order
  • sort in descending order of sorted array in ascending order
  • sort in ascending order of sorted array in descending order
  • sort in descending order of sorted array in descending order

How to run

  • Clone repository: git clone https://github.com/MKruchok/Algorithms.git
  • Choose lab_1 branch: git checkout lab_1
  • Get into folder: cd Algorithms
  • Run py quick_sort.py -a <int array> -o <asc/desc>

About

Algorithms course LPNU 2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages