Skip to content

dominoes: ask for chain rather than canChain OR modify README to ask for canChain #296

@petertseng

Description

@petertseng

There are two possible ways to interpret the dominoes problem, as the canonical data tells us.

  1. Only ask for canChain, a boolean telling us whether the given dominoes can be chained. The tests only need to check whether the boolean matches the expectation.
  2. Ask for chain, which will be (I assume for F#) Some of a valid chain if one exists, or None if one does not. The tests would need to check the various properties noted in the canonical data

This track asks for canChain only. I assumed this was an intentional decision, so I did not question it. But Erik asked me to file an issue. So y'all can reopen the issue in case y'all want to ask for chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions