Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Base

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
backend

調査の方向性

ファイルやテストが指定されていないため、まず Issue にリンクされている availability-ranges の例と、Repository に既に存在するエントリーポイントを確認してください。現在の範囲ベースのアプローチと、提案されているスロットベースのブールビットマップを比較してください。ブロックされたスペースと複数の可用性マップを表現してクエリでき、想定されるエッジケースがカバーされれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

Here's the basic algorithm .

Problem
  1. Availability ranges are based off of a simple single element array which is then modified to handle the areas that have been booked or blocked.
  2. These areas are not accessible anymore and thus cannot be locked again.

A simple implementation of the above can be found here
https://snips.reaper.im/snippets/availability-ranges.html

Obviously the above has quite a few cases which aren't handled and the space and time complexity of the above is off the charts for something so simple.

Possible Solution
  1. Construct the range based on a given number of slots, example a 24 hour availability would add up to be a 1440 slots each pointing to 1 minute
  2. each slot acts as a boolean point of whether blocked or not.
  3. you can then create multiple such bitmaps to handle blocking of multiple spaces and this could be a much faster way to find based on the keying logic, so then you can use the key to find the last booked point in the bitmap and also more flexible since the slots actually have no other meaning, thus being a little more generic
主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。