Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
interview #1 questions

Fizzbuzz

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
FizzBuzz

Sum1

sum1([1, 2, 3]) == 6
sum1([1,2,3,5,8,13,21,34]) == 87

Palindrome

is_palindrome("racecar") == true
is_palindrome("lamp") == false
is_palindrome("tenet") == true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.