Code Directory
 Visual Basic & VB.NET
New Code
Database Workbench Pro 5.4.0
ByteScout Text Recognition SDK
Equipment Rental Script 1.0
Aliexpress Clone- Ec21 Script 1
Agriya Event Booking Solution v2.0b5
Key Transformation 8.1133
IP2Location Geolocation Database 2018
Hotel Restaurant Reviews and Feedback Script 1.0.2
Luxand FaceSDK 6.4
wolfSSL 3.13.0
PHP Survey 1.0
dbForge Studio for MySQL 7.3
Vimeo Script, Dailymotion Clone 1.0.2
SQLi 8
Directory Script- PHP Business Directory Script 1.0.2
Top Code
NES Rom Maker 1.0
Luxand FaceSDK 6.4
Huffman Coding and Decoding for Text Compression 1.1
Magento 2 Multi Vendor Marketplace Module by Apptha 1.0
Hotel Management System Restaurant Version 5.25
HIOX GuestBook 4.0
Ticket Booking System 1.0
Hotel Management CRM 1.0
Olex2 2
Hotel Management - Full Board Version 6.55
SuperGeek Free Document OCR 2.5.6
MyDay Web Diary 0.1a3
Easy PCB Design Software in Java 1.0
Jango Clone Script 1.0
Top Rated
Indiegogo Clone 3.0
PHP Image Resize Script 1.0
Jango Clone Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
All k-subsets from an n-set .
File ID: 64839

All k-subsets from an n-set .
Download All k-subsets from an n-set . Error Link
License: Freeware
Downloads: 8
Submit Rating:
All k-subsets from an n-set . Description
Description: This recipe yields each subset of size k from a super set of size n. I thought I had seen a recipe that did this before, but when I needed it I couldn't find it. There are two methods. The first operates on sets of integers of the form range(n). The seconds operates on arbitrary sets or lists.

License: Freeware

Related: Algorithms


Downloads: 8

More Similar Code

This is a GUI library designed with the goals to be light, fast, flexible, portable, and to include all features expected from an advanced GUI. It's primarily designed for games with high demands on look and feel.

CSMV calculates distances from a given set of points to a set of linear segments

SYNOPSIS: [squared_distances_to_segments I]=csmv(P,R,Q,to_plot)
[squared_distances_to_segments I]=csmv(P,R,Q,...)

INPUT P,R : arrays of...

The WordPress plugin "Heiv Gallery 3" embeds pictures and albums from an installation of Gallery3 in an article or a post.

Install :

Follow the below instruction for the installation of this plugin.


Running this python script will download all lolcat images from to the current folder. Download will start from the oldest image. Images are collected into subfolders lolcat0, lolcat1 etc, each containing 300 images. The...

ASP.NET: Dispaly data from an Excel Spreadsheet is an ASP.NET tutorial in which programmers can get details about the process of displaying the data from Excel spread sheet with the help of VB.NET. The author explains this topic with example...

How To Retrieve and Display Records from an Access Database by Using ASP.NET, ADO.NET, and Visual C# .NET is an article that explains step-by-step process of fetching records from the Access database and bind it to the datagrid control using...

mp3 that you copied from an ipod are weirdly organized on disk. This recipe will move them to a sane and classic structure (the one iTune use). Written during a boring / long meeting :)

This recipe shows a simple approach to using the Python email package to strip out attachments and file types from an email message that might be considered dangerous. This is particularly relevant in Python 2.4, as the email Parser is now much...

This MATLAB(R) script generates a real time plot of voltage values collected from an Agilent(TM) 34401A Digital Multimeter over the serial port(RS232). The data is collected and plotted until the predefined stop time is reached. This example also...

This is a simple code to extract data from an existing matlab 2D or 3D figure.

User Review for All k-subsets from an n-set
- required fields

Please enter text on the image