I actually try to implement the algorithm to my problem but although it is very well explained/depicted I'm not that much into that algorithm (relatively the programming example). I would like to dive into it by applying it but when I copy the code and compile it I receive the error, that "prev" is ambigous (in several lines).
Before I change it to my purposes I would like to run it in its origin so I can understand how it works in details but I already stuck at the beginning :(
Can someone help me, please ?
Thank you very much in advance!