---+How to report the number of good colors 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 topic: CenterForComputing
>
WebHome
>
Syllabi
>
CSC121SylS2023
>
CSC121S2023Lab08
>
CSC121S2023Lab8H1
Topic revision: r1 - 2023-02-28 - cathybareiss
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback