dxbydt
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
78 ms·
- 721.▲
- 722.▲
- 723.▲
- 724.▲
- 725.▲
- 726.▲
- 727.▲
- 728.▲
- 729.▲
- 730.▲
- 731.▲
- 732.▲
- 733.▲
- 734.▲
- 735.▲
- 736.▲
- 737.▲
- 738.▲
- 739.▲
- 740.▲
- 741.▲
- 742.▲
- 743.▲
That bias is very much justified, I'd say. scala> (1 to 10).par.foreach(x=>print(x*x+","))
4,9,1,49,36,16,81,25,64,100,
Let me know how you'd parallelize the above in Java, how many lines of code it'll take, what sy - 744.▲
- 745.▲
- 746.▲
- 747.▲
Its 50%. For 3 passengers the seating possibilities are
{123,213,231,321}, so 3 gets to sit on seat 3 50% of the time. For 4 passengers the seating possibilities are
{1234,2134,2314,2341,2431,3241,3214,4231}, so 4 gets to sit on seat 4 50% - 748.▲
- 749.▲
- 750.▲
More ›