← All problemsSign in

VALENTINE DAY GIFT 2K18

Valentine Day Gift On Valentine day chef wants to make her fiancee Amelia happy by giving a gift to her.Amelia likes necklace of pearls a lot.So, the chef has decided to make a necklace for her fiancee.The chef is busy in making arrangements for Valentine's eve.So chef has asked for your help.Chef has given you a string of length L which contains five different types of pearls 'a', 'b', 'c', 'd',

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start