Adding different algorithms that can solve this problem