Skip to content

Instantly share code, notes, and snippets.

@commuterjoy
Created March 23, 2015 21:08
Show Gist options
  • Save commuterjoy/b671948df1e6dce15837 to your computer and use it in GitHub Desktop.
Save commuterjoy/b671948df1e6dce15837 to your computer and use it in GitHub Desktop.
interview question

Filter a for arrays that do not contain the number '3'

var a = [
   [1, 2, 3],
   [3, 2, 4],
   [1, 2, 1]
]

Filter a for arrays that do not contain a number '3' followed by a vowel,

var a = [
   ['1d', '2f', '3g'],
   ['3c', '2c', '4c'],
   ['1c', '2b', '1a']
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment