l think you are confusing a couple of fundamental things.
Iteration is generally recursive.
Recursion does not require function calls.
Implementing backtracking via a task list doesn't make something less recursive.
I think you may be conflating recursion with function calls.
Also I suggest considering the cost of all of those linear searches you're doing, as the number of tasks increases.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
l think you are confusing a couple of fundamental things.
Iteration is generally recursive.
Recursion does not require function calls.
Implementing backtracking via a task list doesn't make something less recursive.
I think you may be conflating recursion with function calls.
Also I suggest considering the cost of all of those linear searches you're doing, as the number of tasks increases.