Hacker News new | ask | show | jobs
by CyberDildonics 265 days ago
You use a value called a pivot, not a weight, and there are many ways and endless variations you can read about, including just choosing a random value from the current range.