Back to General discussions forum
i couldnt understand how many beads are there for each colour in "neclace Count" Question.
what does the question convey??
are the question examples correct?
The amount of beads of specific color isn't given, only the total amount for all colors is given. The amount of beads of specific color actually doesn't matter since it can change, see the top example.
The problem asks how many unique necklaces can be constructed from N total beads of B total colors.
The test cases are correct.
I couldnt get the logic . can you help me?
any formula?(for this)