Despicable Me
CodeChefOpen on judge ↗
Problem Statement The minions have gone bizarre and evil, following the serum invented by Dr. Nefario. The DNA of minions is basically a permutation of 'N' numbers. 'N' is a constant. Upon studying the actions of serum, it is recognized that some substring of the minion's DNA structure get permuted. Gru has captured an infected minion and wants his accomplice to run tests and diagnose the specif
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