The goal of this problem is the same as the goal of the rest of them: become the leader.
Actually, you can only solve this problem if you become the leader or your solution's size equals that proposed by the leader. Furthermore, your solution should return the string This is the new leader.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more