Skip to content

Instantly share code, notes, and snippets.

@ArsalanDotMe
Created June 19, 2017 11:28
Show Gist options
  • Save ArsalanDotMe/54858ad24eccb7335ccc29a5bd9359c4 to your computer and use it in GitHub Desktop.
Save ArsalanDotMe/54858ad24eccb7335ccc29a5bd9359c4 to your computer and use it in GitHub Desktop.
Simple Programming Test
Problem 1:
Given a list of numbers, find the most frequent integer
Input Example:
12 5 6.7 234 0 22 5
Output Example:
5
------------------------------------------------------
Problem 2:
Write a function that prints the binary form of an integer
Input Example:
14
Output:
1110
------------------------------------------------------
Problem 3:
Given a string, reverse it
Input:
cat
Output:
tac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment