Cody

Problem 548. How many palindromes?

Created by AMITAVA BISWAS in Community
  • 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

70.27% Correct | 29.73% Incorrect
Last solution submitted on Jan 23, 2019