Created
June 19, 2017 11:28
-
-
Save ArsalanDotMe/54858ad24eccb7335ccc29a5bd9359c4 to your computer and use it in GitHub Desktop.
Simple Programming Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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