Separate Data Structures and Problem-Solving Patterns in the Pattern Filter
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
Start by locating the existing Patterns filter and the source of its options, then trace how selected filters affect the displayed questions. Separate data structures from problem-solving patterns and confirm users can combine selections from both categories; done means combinations such as Array + Two Pointers work as described.
索引モデルが issue の本文から書いたものです。
説明
Problem
The current Patterns filter contains both data structures and problem-solving patterns/techniques in the same list.
For example, the filter currently includes items such as:
- Array
- Linked List
- Binary Search
- Backtracking
- Two Pointers
- Greedy
- etc.
This makes the filter a little harder to use when someone wants to practice a specific type of data structure or a specific problem-solving pattern.
For example, a user looking specifically for Two Pointers problems has to search through the same list that also contains data structures such as Array and Linked List.
Proposed Improvement
Separate the existing options into two categories/filters:
Data Structures
- Array
- Linked List
- Stack
- Queue
- Hash Table
- Tree
- Graph
- Heap
- etc.
Problem-Solving Patterns / Techniques
- Two Pointers
- Sliding Window
- Binary Search
- Backtracking
- Greedy
- Dynamic Programming
- Prefix Sum
- Fast & Slow Pointers
- Monotonic Stack
- etc.
This would also allow users to combine filters.
For example:
Data Structure: Array + Pattern: Two Pointers
or:
Data Structure: Linked List + Pattern: Fast & Slow Pointers
Screenshot
Expected Benefit
Separating these concepts would make the filtering experience clearer
and make it easier for users to study questions based on either:
- The data structure involved
- The problem-solving pattern/technique used
Implementation
I would like to work on this issue and implement the proposed improvement, if this approach aligns with the project's direction.
- 主要言語
- TypeScript
- スター
- 14.2k
- フォーク
- 2.3k
- 平均マージ
- 22分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
seanprashad/leetcode-patterns のほかの issue
-
[UI/Bug] Table content gets cut off / triggers unnecessary horizontal scrollbar on wide screens再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
seanprashad/leetcode-patterns#539 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
seanprashad/leetcode-patterns#555 ·
seanprashad/leetcode-patterns の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
polarsource/polar#15580 ·
メンテナーはふだん 1 日以内に返信
-
accepted bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
pingdotgg/t3code#20931 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug/1-unconfirmed kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ranxianglei/billion-context#3583 ·
メンテナーはふだん 1 日以内に返信