Unrestricted Longest Path follow-ups from #966: an exact default solver, output description
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Read the implementation of the Unrestricted Longest Path solver and find where outputDescription is defined; the issue does not name their files or tests. Check how other teaching-tool solvers handle time limits and defaults, then add an exact simple-path search as the default while keeping color coding available. Update the output description to match the returned path or {}.
Written by the indexing model from the issue text.
Description
Follow-ups from the review of #966 (Unrestricted Longest Path). None of them block that PR.
- Add an exact solver and make it the default. The only solver, Alon–Yuster–Zwick color coding, is randomized: a "no" answer (
{}) has up to a 0.1% chance of being wrong, as its definition says. For a teaching tool, the default answer should always be right. A backtracking search over simple paths (depth-first from each vertex, stopping at K edges, checkingtimerHasExpiredin the loop) would be exact and fast on the small instances people try. Color coding can stay as a second solver, which is a nice contrast to show. - Match
outputDescriptionto the solver's answer. It says "True or False", but the solver returns the path itself, or{}when there is none.
- Dominant language
- C#
- Stars
- 9
- Forks
- 34
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 41
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ReduxISU/Redux
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ReduxISU/Redux#1059 · 1 comment ·
Maintainers usually reply within 1 day
-
Weighted Cut and Independent Set brute force give wrong answers past 20 nodes (factorial overflow)Possibly taken @Trosper3 claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ReduxISU/Redux#1034 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
bug documentation queries
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/clickhouse-cs#815 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlPossibly taken @alexeyfala claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
danipen/TextMateSharp#145 · 2 comments ·
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Klyroo/klyroo-dashboard#12 ·
Maintainers usually reply within 1 day
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onPossibly taken @yadavraj2001 claimed this today. Opendocumentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
juandresrodca/AdminForge#73 · 1 comment ·
Maintainers usually reply within 1 day