Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.