请教一道有关随机函数的面试问题# JobHunting - 待字闺中
g*s
1 楼
(1) Write a program that would randomly populate the area of a square, with
even distribution.
(2) Then change the program to populate a circle within that square,
主要是这个2D even distribution怎么理解呢? 就是相当于分成很多小正方形么?
even distribution.
(2) Then change the program to populate a circle within that square,
主要是这个2D even distribution怎么理解呢? 就是相当于分成很多小正方形么?