Nov-13-2018, 02:35 PM
This algorithm is to generate all arrangments of the List Elements.
Since its, a recursive generator function it is difficult to visualise it via print statements.
I'd suggest you either use THIS to visualise or use an IDE debugger and set breakpoints to get a better idea.
Since its, a recursive generator function it is difficult to visualise it via print statements.
I'd suggest you either use THIS to visualise or use an IDE debugger and set breakpoints to get a better idea.