https://profilbaru.com/en/Nondeterministic_algorithm