Problem: Given an array of integers, find the subarray with the maximal/minimal sum. Continue reading

Advertisements

Problem: Given an array of integers, find the subarray with the maximal/minimal sum. Continue reading

Advertisements

Problem: Given a pair of public and private RSA keys, factor N into p and q. Continue reading

Problem: Modular exponentiation. Continue reading

Problem: Given a 32-bit integer, return the number of set bits in its binary representation. Continue reading

Problem: Given an array of numbers, find the min/max of a fixed-size sliding window over each index in the array Continue reading

Problem: Given an array of numbers, for each element find its next greater element. Continue reading