Tag Info

New answers tagged

5

Without considering the algorithm the only thing that stands out to me is the use of Delete/Partition/Range rather than the native Drop function, as specific native functions are usually faster. A complication of using Drop is that you will need a different exit condition for the loop. That would look something like this: lucky[z_List] := Module[{i = ...



Top 50 recent answers are included