GARAGE stand for Graph Augmented Random Array Generation Engine
Arrays (or simply a list) of numbers is the most commonly used input form for competitive programming questions. Having the ability to generate random arrays of a specific pattern offers the ability to test your algorithm to the limits.
With that idea in mind, presenting GARAGE - a first of its kind (don't quote me on that) graph-based random array generation. Simply key in the graph using the smooth sliders, input the bounds and count values, and generate the array. Plotting the elements of the array would give an exagerrated version of the graph you input.
Keeping speed and efficiency in mind, the following are the limitations of the tool
- Lower bound >= -10^9
- Upper bound <= 10^9
- Number of sliders <= Count <= 50000
- 2 <= Number of sliders <= 10
- Time taken to build: 15 hours
-
React.js - Written in React.js 18.1.0
-
p5.js - A JavaScript library for creative coding. Written with p5.js 1.4.1
-
Rando.js - A lightweight library for fast and cryptographically strong random number generation
Sravanth Chowdary Potluri - Generation algorithm for k unique values in a given range - PR