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 548. How many palindromes?

Created by AMITAVA BISWAS
  • Given a set of letters, count all possible palindromes, using all of those letters.
  • For example, if the set is {'A' 'A' 'A'} then the number is 1.
  • If the set is {'A 'A' 'B'} then the number is 1.
  • If the set is {'A' 'B' 'C'} then the number is 0.

Tags

Problem Group

Solution Statistics

19 correct solutions 8 incorrect solutions
Last solution submitted on Jun 09, 2014