Top "Combinations" questions

A combination is a selection of objects from a larger collection in no particular order.

How to get all possible combinations of a list’s elements?

I have a list with 15 numbers in, and I need to write some code that produces all 32,768 combinations of those …

python combinations
How to combine two strings together in PHP?

I don't actually know how to describe what I wanted but I'll show you: For example: $data1 = "the color is"; $…

php string variables combinations
Algorithm to return all combinations of k elements from n

I want to write a function that takes an array of letters as an argument and a number of those …

algorithm combinations
Finding all possible combinations of numbers to reach a given sum

How would you go about testing all possible combinations of additions from a given set N of numbers so they …

algorithm search language-agnostic combinations subset-sum
Creating all possible k combinations of n items in C++

There are n people numbered from 1 to n. I have to write a code which produces and print all different …

c++ algorithm math combinations combinatorics
All combinations of a list of lists

I'm basically looking for a python version of Combination of List<List<int>> Given a list …

python combinations
How to calculate combination and permutation in R?

I just started to learn Probability, and I'm looking for tools to work with on linux. I've found some Combinations …

r combinations
Statistics: combinations in Python

I need to compute combinatorials (nCr) in Python but cannot find the function to do that in math, numpy or …

python statistics combinations
Generating combinations in c++

I have been searching a source code for generating combination using c++. I found some advanced codes for this but …

c++ algorithm combinations
Capturing ctrl+z key combination in javascript

I am trying to capture ctrl+z key combination in javascript with this code: <html> <head> &…

javascript combinations ctrl