https://github.com/nickklos10/efficient_recursive_function
https://github.com/nickklos10/efficient_recursive_function
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nickklos10/efficient_recursive_function
- Owner: nickklos10
- Created: 2023-06-25T01:38:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T17:34:26.000Z (about 1 year ago)
- Last Synced: 2025-01-18T02:27:56.545Z (4 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Efficient recursive function
Wrote an efficient recursive function that takes in a sorted array of numbers, two integers, low and high,
representing indexes into the array, and another integer, value, and returns the index in the array where
value is found in the array in between index low and high, inclusive. If value is NOT found in the array in
between indexes low and high, inclusive, then the function should return -1