oxalorg / oxalorg/4ever-clojure

Problem 89 instructions confuse me

Open
#71 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
271
Forks
29
PR merge metrics
No merged PRs in 30d

Description

(= false (__ [[:a :b] [:a :b] [:a :c] [:c :a]
               [:a :d] [:b :d] [:c :d]]))

So, I am not actually sure what to make of this. I interpreted "unidirectional" to mean that [:a :c] and [:c :a] were the same edge. But if I disregard the two duplicate edges, it seems to me that (d c) (c a) (a d) (d b) (b a) is a valid solution to this. Is the intent that this one is necessarily false because some edges appear twice in the list, and you can't visit them all while only visiting them exactly once, or am I missing something else?

Contributor guide

No contributing guide indexed for this repository

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

Start with the Problem 89 instructions and the supplied edge-list expression; the payload names no source file or test. Determine how “unidirectional,” duplicate edges, and visiting each edge exactly once are intended to work, then revise the prompt or example so the expected false result and edge interpretation are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.