Skip to content

Conversation

@afurm
Copy link

@afurm afurm commented Oct 30, 2025

Summary

  • add interpolation search implementation with interactive CLI helper (searches/interpolation_search.rb)
  • cover success, failure, uniform, empty, and unsorted cases in a dedicated minitest suite (searches/interpolation_search_test.rb)

Testing

  • rake test

- Implemented the interpolation search algorithm in `interpolation_search.rb`.
- Added unit tests for various scenarios including finding existing elements, handling missing elements, empty arrays, uniform values, and unsorted arrays in `interpolation_search_test.rb`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant