Your solution looks really elegant, and runs insanely fast.&nbsp; Can you explain how it works?<br><br>