Created
December 9, 2017 13:19
-
-
Save dinhhuydh/21659487928db4f3171bda0d178385e1 to your computer and use it in GitHub Desktop.
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
# 1. count number of words in a string | |
# E.g 1: count_words("this is an object") ==> 4 | |
# 2. Count how many max numbers | |
# eg1: [3,5,6,3,6] => 2 | |
# eg2: [1,5,6,6,6] => 3 | |
# 3. Find longest string | |
# eg 1: ['a', 'bbbbb', 'zzz'] => 'bbbb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment