There are two possible ways to interpret the dominoes problem, as the canonical data tells us.
- 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.
- 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.
There are two possible ways to interpret the dominoes problem, as the canonical data tells us.
canChain, a boolean telling us whether the given dominoes can be chained. The tests only need to check whether the boolean matches the expectation.chain, which will be (I assume for F#)Someof a valid chain if one exists, orNoneif one does not. The tests would need to check the various properties noted in the canonical dataThis track asks for
canChainonly. 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 forchain.