Quote (spt_94 @ Mar 16 2016 09:08am)
A team consists of 1x QB, 2x RB, 3x WR, 1x TE, 1x K, 1x D
With total options of:
QB: 39
RB: 118
WR: 147
TE: 86
PK: 32
Def: 32
You are looking at a total possible combinations of C(39,1)*C(118,2)*C(147,3)*C(86,1)*C(32,1)*C(32,1)
which comes out to 12,296,678,846,699,520 (12.2 quadrillion)
brute forcing that would take forever.
combining both ideas. What if you took the top 50% of players in each category based on your fantasy_points/$ ratio. Then tried combinatorics on those:
C(20,1)*C(59,2)*C(74,3)*C(43,1)*C(16,1)*C(16,1) -> O(10^13)
prob still too many huh? :(