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
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 }}
JavaInCloud
/
Java
Public
forked from
TheAlgorithms/Java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
Java
Searches
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 21, 2021
BinarySearch: clearer median computation (#2182)
Show description for d2d5efd
3 people
authored
d2d5efd
View commit details
Copy full SHA for d2d5efd
View code at this point
Browse repository at this point
Commits on Apr 14, 2021
Formatted with Google Java Formatter
github-actions
authored and
github-actions
committed
8cece6c
View commit details
Copy full SHA for 8cece6c
View code at this point
Browse repository at this point
Formula to find median in Binary Search changed (#2181)
Show description for b8707e6
3 people
authored
b8707e6
View commit details
Copy full SHA for b8707e6
View code at this point
Browse repository at this point
Commits on Oct 24, 2020
Formatted with Google Java Formatter
github-actions
authored and
github-actions
committed
0db62bb
View commit details
Copy full SHA for 0db62bb
View code at this point
Browse repository at this point
Formatted with Google Java Formatter
github-actions
authored and
github-actions
committed
5d59a2e
View commit details
Copy full SHA for 5d59a2e
View code at this point
Browse repository at this point
Commits on Jul 30, 2020
Update PerfectBinarySearch.java
Show description for 3b7dae8
StepfenShawn
authored
3b7dae8
View commit details
Copy full SHA for 3b7dae8
View code at this point
Browse repository at this point
Update and rename Perfect BinarySearch to PerfectBinarySearch.java
StepfenShawn
authored
c3136e2
View commit details
Copy full SHA for c3136e2
View code at this point
Browse repository at this point
Commits on May 28, 2020
Merge pull request #1325 from mariaRoxana94/fix-error
Show description for 88c6ad9
StepfenShawn
authored
88c6ad9
View commit details
Copy full SHA for 88c6ad9
View code at this point
Browse repository at this point
Commits on May 24, 2020
Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong.
Maria Lungeanu
authored and
Maria Lungeanu
committed
a5f42e2
View commit details
Copy full SHA for a5f42e2
View code at this point
Browse repository at this point
Commits on May 19, 2020
Handles all corner cases
CodingCookieRookie
authored
4fcad4f
View commit details
Copy full SHA for 4fcad4f
View code at this point
Browse repository at this point
Commits on Oct 29, 2019
add jump search algorithm
realDuYuanChao
committed
16a215e
View commit details
Copy full SHA for 16a215e
View code at this point
Browse repository at this point
Commits on Sep 24, 2019
code readable
realDuYuanChao
committed
a19ece9
View commit details
Copy full SHA for a19ece9
View code at this point
Browse repository at this point
Commits on May 9, 2019
docs: update the whole repository
Show description for 2994836
yanglbme
committed
2994836
View commit details
Copy full SHA for 2994836
View code at this point
Browse repository at this point
Commits on Jan 11, 2019
Update BinarySearch.java
Show description for 378f661
gooama
authored
378f661
View commit details
Copy full SHA for 378f661
View code at this point
Browse repository at this point
Commits on Nov 13, 2018
Restructured the repo
varunu28
committed
819b7fd
View commit details
Copy full SHA for 819b7fd
View code at this point
Browse repository at this point
Commits on Oct 22, 2018
Clean Java BinarySearch
Show description for 174b83f
Mas281
authored
174b83f
View commit details
Copy full SHA for 174b83f
View code at this point
Browse repository at this point
Commits on Apr 19, 2018
Changed code style
nikitapodsh
committed
ecfd0f0
View commit details
Copy full SHA for ecfd0f0
View code at this point
Browse repository at this point
Fixed bug with an infinite loop when an array doesn't contain a key
Show description for 014bfda
nikitapodsh
committed
014bfda
View commit details
Copy full SHA for 014bfda
View code at this point
Browse repository at this point
Commits on Apr 13, 2018
Added a iterative version of ternary search algorithm and some minor changes in documentation
nikitapodsh
committed
c002090
View commit details
Copy full SHA for c002090
View code at this point
Browse repository at this point
Commits on Apr 12, 2018
Refactored left searching algorithms (except SaddlebackSearch. Just cleaned the code in that algorithm)
Show description for 066adc7
nikitapodsh
committed
066adc7
View commit details
Copy full SHA for 066adc7
View code at this point
Browse repository at this point
Refactored a few searching algorithms
Show description for 7d178c5
nikitapodsh
committed
7d178c5
View commit details
Copy full SHA for 7d178c5
View code at this point
Browse repository at this point
Commits on Apr 8, 2018
code clean
thegabriele97
authored
c7f4f53
View commit details
Copy full SHA for c7f4f53
View code at this point
Browse repository at this point
Commits on Apr 5, 2018
added iterative version of binary search algorithm
thegabriele97
committed
1cb2191
View commit details
Copy full SHA for 1cb2191
View code at this point
Browse repository at this point
Commits on Nov 18, 2017
Added SaddlebackSearch
NISHITA97
committed
9295e19
View commit details
Copy full SHA for 9295e19
View code at this point
Browse repository at this point
Commits on Oct 25, 2017
Merge pull request #151 from ribhav-pahuja/master
Show description for 6531362
dynamitechetan
authored
6531362
View commit details
Copy full SHA for 6531362
View code at this point
Browse repository at this point
Commits on Oct 4, 2017
Added Ternary Search
ribhav-pahuja
committed
76042f4
View commit details
Copy full SHA for 76042f4
View code at this point
Browse repository at this point
Added Ternary Search
ribhav-pahuja
committed
6807e7e
View commit details
Copy full SHA for 6807e7e
View code at this point
Browse repository at this point
Commits on Oct 3, 2017
Merge pull request #122 from theycallmemac/master
Show description for d63dbb1
dynamitechetan
authored
d63dbb1
View commit details
Copy full SHA for d63dbb1
View code at this point
Browse repository at this point
Commits on Oct 1, 2017
prevent (ub+lb) overflow
lvncnt
authored
85771ea
View commit details
Copy full SHA for 85771ea
View code at this point
Browse repository at this point
Commits on Sep 28, 2017
added interpolationSearch.java
theycallmemac
committed
665c6f1
View commit details
Copy full SHA for 665c6f1
View code at this point
Browse repository at this point
Commits on Aug 17, 2017
Update BinarySearch.java
Show description for 22350ea
varunu28
authored
22350ea
View commit details
Copy full SHA for 22350ea
View code at this point
Browse repository at this point
Commits on Aug 13, 2017
Updated LinearSearch.java
Show description for ee5974a
varunu28
authored
ee5974a
View commit details
Copy full SHA for ee5974a
View code at this point
Browse repository at this point
Commits on Jul 16, 2017
Simplifies the readability of the static method BS
matheusserrao
committed
60f6dda
View commit details
Copy full SHA for 60f6dda
View code at this point
Browse repository at this point
Commits on Apr 27, 2017
Merge pull request #32 from theycallmemac/patch-4
Show description for 47818bf
dynamitechetan
authored
47818bf
View commit details
Copy full SHA for 47818bf
View code at this point
Browse repository at this point
Rename LinearSearch.java to Searches/LinearSearch.java
theycallmemac
authored
66d4679
View commit details
Copy full SHA for 66d4679
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.