Skip to content

Instantly share code, notes, and snippets.

View tescherm's full-sized avatar

Matt Tescher tescherm

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tescherm on github.
  • I am tescherm (https://keybase.io/tescherm) on keybase.
  • I have a public key whose fingerprint is 89C9 AE6D CF91 98AA 54D1 857D 7B6A 45C2 D9C1 8BD8

To claim this, I am signing this object:

@tescherm
tescherm / palindrome.md
Last active December 22, 2015 18:51
Interview Question - Is Palindrome

Problem Statement

A palindrome is a word that reads the same backwards or forwards. For example, 'wow' and 'bob' are palindromes, but 'apples' and 'foo' are not.

Write a function that takes a word, and determines if it is a palindrome.

Example Solution

// reverse and compare solution