NP-Hard problem - backtracking algorithm - scheduling