Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

feat: Binary search algorithm #72

Merged
merged 2 commits into from
Jan 9, 2021
Merged

feat: Binary search algorithm #72

merged 2 commits into from
Jan 9, 2021

Conversation

jp-tran
Copy link
Contributor

@jp-tran jp-tran commented Jan 9, 2021

Implementation of iterative and recursive binary search for a sorted array of numbers or strings.

@jp-tran jp-tran changed the title Add binary search algorithm feat: Binary search algorithm Jan 9, 2021
Comment on lines +61 to +62
describe('iterative method', () => runTest(binarySearchIterative))
describe('recursive method', () => runTest(binarySearchRecursive))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this is a clean way of testing both versions

@jeffzh4ng jeffzh4ng merged commit f054ece into jeffzh4ng:master Jan 9, 2021
@github-actions
Copy link

github-actions bot commented Jan 9, 2021

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants