← All problemsSign in

Guddu Feelings

Problem description. Guddu hates his enemies (like others don't). As we all know, he can barely talk when he turns into the incredible Gaint. That's why he asked you to help him to express his feelings. Guddu likes the Inception so much, and like that his feelings are complicated. They have N layers. The first layer is hate, second one is love, third one is hate and so on... For example if N = 

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