Results 3 comments of Mohammad Jafari

My friend and I worked on this issue in my recent pull request. https://github.com/arnauddri/algorithms/pull/18

I actually corrected it. here is my pull request https://github.com/arnauddri/algorithms/pull/21

You are actually right. it may cause incorrect modifications. https://github.com/arnauddri/algorithms/pull/15