Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
TheAlgorithms
/
JavaScript
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
5.8k
Star
34.2k
Code
Issues
21
Pull requests
192
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Add proper tests for binary search
- #987
#987
Merged
raklaptudirm
merged 9 commits into
TheAlgorithms:master
TheAlgorithms/JavaScript:master
from
CarlosZoft:BinarySearch
CarlosZoft/Javascript:BinarySearch
Copy head branch name to clipboard
Apr 21, 2022
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Add proper tests for binary search
#987
raklaptudirm
merged 9 commits into
TheAlgorithms:master
TheAlgorithms/JavaScript:master
from
CarlosZoft:BinarySearch
CarlosZoft/Javascript:BinarySearch
Copy head branch name to clipboard
Commits
Commits on Apr 19, 2022
feat: added alternative binary search
CarlosZoft
committed
1c8fb60
View commit details
Copy full SHA for 1c8fb60
Browse repository at this point
fix: exchange "dir" for "high"
CarlosZoft
committed
dbab8f3
View commit details
Copy full SHA for dbab8f3
Browse repository at this point
fix : fixing code style
CarlosZoft
committed
a094a81
View commit details
Copy full SHA for a094a81
Browse repository at this point
Commits on Apr 20, 2022
fix: fixed readability
CarlosZoft
committed
1a568ad
View commit details
Copy full SHA for 1a568ad
Browse repository at this point
fix: fixed code smells
CarlosZoft
committed
f1fd3c9
View commit details
Copy full SHA for f1fd3c9
Browse repository at this point
fix: remove binary search alternative
CarlosZoft
committed
a9b8c05
View commit details
Copy full SHA for a9b8c05
Browse repository at this point
feat: added tests of binary search interative and recursive
CarlosZoft
committed
459ddef
View commit details
Copy full SHA for 459ddef
Browse repository at this point
fix: fixed wrong identation
CarlosZoft
committed
01a2e0d
View commit details
Copy full SHA for 01a2e0d
Browse repository at this point
fix: refactoring duplicated code of tests
CarlosZoft
committed
ea67fc6
View commit details
Copy full SHA for ea67fc6
Browse repository at this point
You can’t perform that action at this time.