-- you have earned Featured Contributor Badge Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!
Very nice! Thanks for sharing. Are you aware of the Groupings function? This would solve part of this problem quite elegantly as well.
Oh, that's the exact function what I was looking for! The code will be more elegant with Groupings. I will improve my code with this function. Thanks for your suggestion!
I reprogrammed the functions and got the following results:
If there is any better way to solve the problem and check the solvability, please let me know.
Thanks for your advise again. I love the function Groupings!