HELP THE QUEEN
CodeChefOpen on judge ↗
Queen Victoria, had a precious necklace that was made from beads having themselves made of 2 special types of gems and stones. Also, the beads could fix correctly in the necklace only if the meet of two beads were of same stone. Such a necklace was rare and precious, but one fine day suddenly it was torn and all the beads were spread all over on the floor in no time.She collected those beads someh
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start