Solving the Computationally Impossible With Heuristics
from pathlib import Path
DATA_DIR = Path("/kaggle/input")
if (DATA_DIR / "ucfai-core-fa18-heuristics").exists():
DATA_DIR /= "ucfai-core-fa18-heuristics"
else:
# You'll need to download the data from Kaggle and place it in the `data/`
# directory beside this notebook.
# The data should be here: https://kaggle.com/c/ucfai-core-fa18-heuristics/data
DATA_DIR = Path("data")