Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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

22 correct solutions 11 incorrect solutions
Last solution submitted on Mar 01, 2016