Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • After thinking on this, this is close to my approach. I was wondering however if it would be more efficient to random sort the orphans instead of each list of A with common child count. Any thoughts? Commented Sep 13, 2012 at 11:02
  • 1
    The main reason I suggest sorting the list of A's is so that the same ones dont always get the new B's first. So if on an average night you have enough new B's to fill half A's to 4, and the others to 3, its not the same A's each night getting filled to 4. I dont know if thats an issue or not (for ex, distributing sales leads, you dont want the same sales people to always get more leads). If its not, you can probably forgo the randomizing all together. Commented Sep 13, 2012 at 18:08