lean-ja / lean-ja/lean-by-example

Lean の連結リスト `List` と、DSA の授業で出てくる「連結リスト」は一緒か?異なるのか?

Open
#2,485 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
188
Forks
15
Avg merge
9h 8m
Merged PRs (30d)
6

Description

  • List は「先頭要素」と「後続リストへの参照」を持つ
  • DSA の授業で出てくるのは、各要素が「後続要素」への参照を持つ。

この2つの形式の定義は本当に同じか?どこが違う?あるいは、実際は同じ?

コードを書いて調べるならどのようにして調べればよい?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Lean's List and the linked-list representation taught in DSA, but it mentions no repository file or test. Start by locating the List definition and relevant examples, then compare the two representations with small code experiments. Done means documenting whether they are equivalent, how they differ, and how a reader can verify the relationship.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.