Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 551. Have you seen any Spindromes recently?

Created by AMITAVA BISWAS
  • Never been to the dwarf planet makemake yet?
  • Assume a new unexplored planet has several moons spinning around it,
  • all on a flat circular orbit and equally spaced,
  • and represented by a sequence of letters such as 'm a k e m a k e'
  • or simply 'makemake'.
  • Another example of a sequence of spinning moons could be '0 3 4 6 4 9'
  • or simply '034649'.
  • Notice that some moons may have same names.
  • Assuming that such a sequence could also be called a spindrome if the spinning moons of same names can be distinguishable from each other by the neighbors.
  • Otherwise that sequence is not a spindrome.
  • The sequence 'makemake' is not a spindrome.
  • The sequence '034649' is a spindrome.
  • Please detect if the given sequence is a spindrome.

Problem Group

Solution Statistics

16 correct solutions 31 incorrect solutions
Last solution submitted on Oct 27, 2014

Problem Comments