diff options
Diffstat (limited to 'challenge-014/jaime/README')
| -rw-r--r-- | challenge-014/jaime/README | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/challenge-014/jaime/README b/challenge-014/jaime/README index 6b98f9b732..9acbfee5ea 100644 --- a/challenge-014/jaime/README +++ b/challenge-014/jaime/README @@ -2,41 +2,14 @@ Solution by Jaime Corchado, (@tortsnare)[https://twitter.com/tortsnare]. # Challenge #1 -The numbers formed by adding one to the products of the smallest -primes are called the Euclid Numbers (see wiki). Write a script that -finds the smallest Euclid Number that is not prime. - -## Solution - -Calculate the product of prime numbers and check if each successor is a prime. +Write a script to generate Van Eck’s sequence. # Challenge #2 -Write a script that finds the common directory path, given a -collection of paths and directory separator. For example, if the -following paths are supplied. - -``` -/a/b/c/d -/a/b/cd -/a/b/cc -/a/b/c/d/e -``` - -and the path separator is `/`. Your script should return `/a/b` as common -directory path. - -## Solution - -``` -perl -- ch-2.pl <*delimiter*> <*list of strings*> -``` - -The path *delimiter* is a string like `/`. -The *list of strings* is a string like `/usr/bin:/usr/sbin`. - -The solution is to find the consecutive intersection of all paths. +Using only the official postal (2-letter) abbreviations for the 50 U.S. states, +write a script to find the longest English word you can spell. # Challenge #3 -Find out the synonyms of a given word using the Synonyms API. +Find the given city current time using the Geo DB Cities API. + |
