Skip to content

Commit

Permalink
add mountain image; remove redundant encrypt challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Rother committed Feb 12, 2024
1 parent ff460fc commit 834bd23
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 80 deletions.
58 changes: 0 additions & 58 deletions challenges/encrypt.rst

This file was deleted.

34 changes: 34 additions & 0 deletions challenges/misty_mountains.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Misty Mountains
---------------

.. image:: mountains.jpg

*Photo by `Rohit Tandon on unsplash.com <https://unsplash.com/@sepoys?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash>`__*

**🎯 Find the highest peak.**

You are looking for the dwarven cities.
They are under the highest mountains, of course.
As you scan the horizon, you can clearly see the elevation of each mountain:

::

310
464
618
772
926
1080
...

A peak is any elevation with two lower numbers before and after it.
Every peak hosts one of the dwarven cities. You find the elevations in
:download:`mountains.csv`.

* find the highest peak
* find all seven peaks

Extra challenge
---------------

Plot the elevations of the mountains as a line plot.
Binary file added challenges/mountains.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions challenges/seven_peaks.rst

This file was deleted.

0 comments on commit 834bd23

Please sign in to comment.