Click here for the problem (exercise) definition.
Click here for a list of PyCharm shortcuts and tips & tricks.
Your objective is to implement the function navigate(...)
in the file algorithmics/navigator.py
. To check your solutions you can run the file algorithmics/app.py
.
To enter your submissions, click here.
By now you should have downloaded & set-up the algorithmic anaconda environment using the instructions in the following link:
https://github.com/SharonLK/psagot-2020-reqs#algorithmics-workshop-installations
If you haven't done already, now is the time. In addition, make sure you have PyCharm installed.
Follow these instructions to clone the repo and set-up PyCharm correctly:
-
Open
git bash
andcd
to a working directory of you choice, the spicier the better -
Clone this repository to your local machine
git clone https://github.com/SharonLK/psagot-2020-algo.git
(if it doesn't work for some reason, you can simply download the repo) -
Open the cloned directory using PyCharm
-
After the project has been opened in PyCharm, go to settings,
File -> Settings...
(orCTRL ALT S
) -
In the opened window open the tab
Project -> Project Interpreter
-
In the new window, click on the cog icon and then on
Add...
-
In the add python interpreter window, click on the
Conda Environment
tab -
Select
Existing environment
and navigate to where thepython.exe
executable of thepsagot-2020-algo
environment is installed under theinterpreter
setting- For windows its usually found at
C:\users\<username>\anaconda3\envs\psagot-2020-algo\python.exe
) - For linux its usually found at
/home/<username>/anaconda3
- For windows its usually found at
-
Click
OK
-
Done!