Make my array fast!
Source: STEMS 2021 CS Cat A Q2
January 23, 2021
combinatorics
Problem Statement
Given is an array of numbers, where is a positive integer. Give an algorithm to create an array of length where ( means ) in time without using division. Assume that all binary arithmetic operations are