In this problem, we are given a list of rings going into rods, and we should return how many rods have rings with all the possible colors.

There are rings and each ring is either red, green, or blue. The rings are distributed across ten rods labeled from

Pierre-Marie Poitevin

Likes to code and to learn.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store