Rings and Rods
You are given a string representation of rings placed on rods. The rings are labeled with colors: "B" for blue, "G" for green, and "R" for red. The rods are labeled with numbers from 0 to 9. Each rod can hold multiple rings. Write a function to determine the number of rods that have rings of all three colors.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)