Code Lab

Mode entretien. Minuteur de 3 min, sans indices ni autocomplétion

All letters of the alphabet

FacileMap and Set3 min

Write a function isPangram(sentence). It takes a string of lower-case Latin letters and returns true if it has every one of the 26 letters of the alphabet. Otherwise return false.

Exemples

isPangram('thequickbrownfoxjumpsoverthelazydog')

Renvoie true

isPangram('leetcode')

Renvoie false

The letter `a`, for one, is missing.

Source

Chargement de l'éditeur...
  1. EntréeisPangram('thequickbrownfoxjumpsoverthelazydog')
    Attendutrue
  2. EntréeisPangram('leetcode')
    Attendufalse
  3. EntréeisPangram('abcdefghijklmnopqrstuvwxyz')
    Attendutrue

Les tests cachés se lancent à la soumission