* BinarySearch: clearer median computation
">>> 1" is simply too obscure...
* update binary search
Co-authored-by: Yang Libin <contact@yanglibin.info>
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
Co-authored-by: Yang Libin <contact@yanglibin.info>
* Formula to find median in BS changed
* Fixed bugs
* fixed binary search bug
Co-authored-by: Sourav <kalitasourav12@gmail.com.com>
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
This commit implements a fully-automated development setup using Gitpod.io, an
online IDE for GitLab, GitHub, and Bitbucket that enables Dev-Environments-As-Code.
This makes it easy for anyone to get a ready-to-code workspace for any branch,
issue or pull request almost instantly with a single click.
* Added algorithm for color contrast ratio.
* Added comment and example usage in main.
* Fixed calling method in main without creating object.
* Formatted with Google Java Formatter
* Add imports for ColorContrastRatio.java
* updating DIRECTORY.md
* Updated to follow repo conventions. Undid formatting of documents.
* Follow repository conventions.
* Formatted with Google Java Formatter
* Added test method with assetions.
* Formatted with Google Java Formatter
* Update Misc/ColorContrastRatio.java
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
* updating DIRECTORY.md
* Correct javadocs and parameter names.
* Formatted with Google Java Formatter
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
* reducing complexity to linear complixity
* reducing complexity to linear
* update CheckAnagrams algo
Co-authored-by: Yang Libin <contact@yanglibin.info>
* add MinimumPathSum DynamicProgramming
* add tests and link for the algorithm
* remove junit dependency
* format with google code format
Co-authored-by: eatonjiang <eatonjiangtonglei@outlook.com>
* Solution to Euler Project Problem03
* Solution to Euler Project Problem03
format fix
* format code
* update prime function
Co-authored-by: mickonama <mickonama@csd.auth.gr>
Co-authored-by: shellhub <shellhub.me@gmail.com>