The user inputs numbers. A program separates the numbers into three lists. The "Even one" is for adding even numbers. The "Odd one" is for adding odd numbers. The third list is for adding all numbers. When the user had finished entering the numbers he has to decide in which way the program will sort the lists. There are two options: ASC - The Ascending Order and DESC - The Descending Order. As for the third list. When the User is entering a number, this number is immediately inserting into the list in The Ascending Order. The program uses a binary search algorithm to find the right place for this number.
-
Notifications
You must be signed in to change notification settings - Fork 0
sergiy-chumachenko/Lists_sorting_and_binary_search
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published