Beta
Random gradient
Description:
Explanation
Create a random coordinate generator that produces 100.000 coordinates wihin the range: 0 to 1000.
The chance a coordiante falls close to x = 0 and y = 0, is bigger than the chance the coordiante falls close to x = 1000 and y = 1000.
- The range 0 to 100 will contain more points than 100 to 200.
- The range 200 to 300 will contain more points than 300 to 400.
- ... and so on
Code example
The result needs to be returned in the following format:
[[0,6],[100,467], ...[x,y]]
Plotted representation
Algorithms
Similar Kata:
Stats:
Created | Dec 28, 2021 |
Published | Dec 28, 2021 |
Warriors Trained | 56 |
Total Skips | 22 |
Total Code Submissions | 30 |
Total Times Completed | 15 |
Dart Completions | 15 |
Total Stars | 2 |
% of votes with a positive feedback rating | 58% of 6 |
Total "Very Satisfied" Votes | 2 |
Total "Somewhat Satisfied" Votes | 3 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 7 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 7 kyu |