Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 38
    \$\begingroup\$ Welcome to PPCG! Nice first challenge. \$\endgroup\$ Commented Mar 18, 2019 at 15:30
  • 1
    \$\begingroup\$ Are the characters specified in your challenge the only ones that will appear in the string? \$\endgroup\$ Commented Mar 18, 2019 at 15:31
  • \$\begingroup\$ @EmbodimentofIgnorance Yes, only the 4. \$\endgroup\$ Commented Mar 18, 2019 at 15:34
  • 33
    \$\begingroup\$ Wait you could make a language out of this \$\endgroup\$ Commented Mar 18, 2019 at 18:57
  • 2
    \$\begingroup\$ @Arnauld No, I really think only truthy for connected and falsy for unconnected. (Unless allowing a swap is normal for this kind of question?) \$\endgroup\$ Commented Mar 19, 2019 at 4:35