Cody

Problem 548. How many palindromes?

  • 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.

Solution Stats

66.67% Correct | 33.33% Incorrect
Last solution submitted on Mar 01, 2016

Tags

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more