We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
For this, if we're given 3 colors, are we allowed to use any 3! color choices? I.e. if we're given three colors, can we include just one, two of the three, and all three, or does it just need to be all three colors?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #189: Tri-colouring a triangular grid
You are viewing a single comment's thread. Return to all comments →
For this, if we're given 3 colors, are we allowed to use any 3! color choices? I.e. if we're given three colors, can we include just one, two of the three, and all three, or does it just need to be all three colors?