Skip to content

Instantly share code, notes, and snippets.

View nathanworden's full-sized avatar
💭
Working through Launch School Curriculum

Nathan Worden nathanworden

💭
Working through Launch School Curriculum
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nathanworden on github.
  • I am nathanworden (https://keybase.io/nathanworden) on keybase.
  • I have a public key ASCfoAjZoHN20qoxgji7xXB7TpXt1KVkRg3CNZRVTzpU3Ao

To claim this, I am signing this object:

ALPHA = ('a'..'z').to_a
def missing_alphabets(s)
alpha_hash = {}
ALPHA.each {|e| alpha_hash[e] = 0}
missing = ""
s.chars.each do |char|
alpha_hash[char] += 1
end