Skip to content

Commit baffe69

Browse files
committed
Kyu 8 | A Strange Trip to the Market
1 parent 3b550f6 commit baffe69

File tree

1 file changed

+19
-0
lines changed
  • src/main/java/kyu8/aStrangeTripToTheMarket

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# A Strange Trip to the Market
2+
3+
You're on your way to the market when you hear beautiful music coming from a nearby street performer. The notes come
4+
together like you wouln't believe as the musician puts together patterns of tunes. As you wonder what kind of algorithm
5+
you could use to shift octaves by 8 pitches or something silly like that, it dawns on you that you have been watching
6+
the musician for some 10 odd minutes. You ask, "How much do people normally tip for something like this?" The artist
7+
looks up. "Its always gonna be about tree fiddy."
8+
9+
It was then that you realize the musician was a 400 foot tall beast from the paleolithic era. The Loch Ness Monster
10+
almost tricked you!
11+
12+
There are only 2 guaranteed ways to tell if you are speaking to The Loch Ness Monster: A.) It is a 400 foot tall beast
13+
from the paleolithic era B.) It will ask you for tree fiddy
14+
15+
Since Nessie is a master of disguise, the only way accurately tell is to look for the phrase `"tree fiddy"`. Since you
16+
are
17+
tired of being grifted by this monster, the time has come to code a solution for finding The Loch Ness Monster. Note: It
18+
can also be written as `3.50` or `"three fifty"`. Your function should return true if you're talking with The Loch Ness
19+
Moster, false otherwise.

0 commit comments

Comments
 (0)