How to report the number of good colors

28 Feb 2023 - 15:00 | Version 1 |
The number of colors that are correct but in the wrong position is:
  • the sum of the number of colors shared
  • minus the number of colors in the same position
  • so if both strings had 2 reds and 3 blues and 2 colors were in the right position, the answer would be 3
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine