feat(binary-search): add JavaScript solution
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Description
Under the Contributing section of the README:
"- Add a solution in a language a problem doesn't have yet (
solution.rs,solution.c, ...)."
Currently, problems/binary-search has solutions in C++, Python, and Java, but lacks a JavaScript implementation (solution.js).
Proposed Solution
Add problems/binary-search/solution.js that:
- Reads the target and sorted numbers from standard input.
- Performs binary search with integer midpoint calculations.
- Prints the 0-based index of the target or
-1if not found. - Passes all existing test cases in
cases.txtviapython3 run.py binary-search --lang js.
- 主要言語
- Python
- スター
- 1
- フォーク
- 6
- 平均マージ
- 22時間 41分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
techcsispit/code-corner のほかの issue
-
prime/solution.java doesn't compile: public class PrimeCheck in solution.java, README requires Solution.java with a Solution class対応中かも @tanujb03 が 13 日前に担当しました。 オープンbug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
techcsispit/code-corner#35 ·
メンテナーはふだん 1 日以内に返信
-
feat(anagram): add C solution対応中かも @aadiitya2007 が 1 日前に担当しました。 オープン
techcsispit/code-corner#68 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
feat(binary-search): add C solution対応中かも @aadiitya2007 が 1 日前に担当しました。 オープン
techcsispit/code-corner#64 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
test(palindrome): add test cases for single-char, numeric, and punctuation edge cases対応中かも @aadiitya2007 が 1 日前に担当しました。 オープン
techcsispit/code-corner#62 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
test(anagram): add edge cases for case sensitivity, single-char, and multi-word anagrams対応中かも @aadiitya2007 が 4 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
techcsispit/code-corner#61 ·
メンテナーはふだん 1 日以内に返信
techcsispit/code-corner の issue をすべて見る
似ている issue
-
[Resource]: Loreオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hesreallyhim/awesome-claude-code#3234 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openminion/openminion#376 ·
メンテナーはふだん 1 日以内に返信
-
Type: ☹︎ Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/great-tables#1028 ·
メンテナーはふだん 1 日以内に返信
-
integration: apple_tv
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
home-assistant/core#188282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A "since" range is worded as a career: "the past two seasons" says "regular season career (2025 on)"オープンP4: low
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jeffknupp/association#538 ·