Problem

Return true if every char in s is 'a' (recursive).

Examples

  • allLettersA("aaa") -> true
  • allLettersA("aba") -> false
Compile and test (Ctrl+Enter)