Drag and Drop Algorithm

The basic Drag’n’Drop algorithm looks like this:

Here is an example -

Will be continued...