Skip to content
#

no-repetitions

Here are 4 public repositories matching this topic...

Language: All
Filter by language

ENG// A random number generator in a dynamic array with the ability to add, subtract ,multiply and divide the largest number and the smallest. RUS//Генератор случайных чисел в динамическом массиве с возможностью складывания, вычитания, умножения и деления наибольшего числа и наименьшего.

  • Updated Jun 20, 2021
  • C++

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, making it suitable for performance-demanding applications where the set of items is large.

  • Updated Oct 26, 2024
  • TypeScript

An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completion, the sampler automatically refreshes, initiating a new cycle to repeat the process.

  • Updated Nov 10, 2024
  • TypeScript

Improve this page

Add a description, image, and links to the no-repetitions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the no-repetitions topic, visit your repo's landing page and select "manage topics."

Learn more