https://github.com/heyfoz/cpp-vector-binary-search
The Vector Binary Search Program (C++) creates and fills a vector with 5000 random integers. Once the vector is filled, the program displays details such as the smallest, largest, and average values. To conclude, the program asks the user to enter an integer. If the integer is found via binary search, the program returns its position.
https://github.com/heyfoz/cpp-vector-binary-search
binary-search cpp vector
Last synced: 9 months ago
JSON representation
The Vector Binary Search Program (C++) creates and fills a vector with 5000 random integers. Once the vector is filled, the program displays details such as the smallest, largest, and average values. To conclude, the program asks the user to enter an integer. If the integer is found via binary search, the program returns its position.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp-vector-binary-search
- Owner: heyfoz
- Created: 2022-12-04T01:27:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-04T01:35:21.000Z (over 3 years ago)
- Last Synced: 2025-01-30T05:11:47.726Z (over 1 year ago)
- Topics: binary-search, cpp, vector
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp_vector_binary_search
The Vector Binary Search Program (C++) creates and fills a vector with 5000 random integers. Once the vector is filled, the program displays details such as the smallest, largest, and average values. To conclude, the program asks the user to enter an integer. If the integer is found via binary search, the program returns its position.
Link to .cpp file: Vector Binary Search C++ Program
Copyright (c) 2022 ffm5113