Skip to content
Courses
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
All Courses
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python Exception Handling
Python File Handling
Python Exercises
Java
Learn Java Programming Language
Java Collections
Java 8 Tutorial
Java Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
JavaScript
C++
R Tutorial
SQL
PHP
C#
C
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
Learn Complete Web Development
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
Dynamic Programming
1.5k+ articles
permutation
240+ articles
Permutation and Combination
150+ articles
DSA
>
Algorithms
>
Combinatorial
Combinatorial
690+ posts
Popular Articles
Recent Articles
Count of subsets with sum equal to target
Last Updated: 12 December 2024
Given an array arr[] of length n and an integer target, the task is to find the number of subsets with a sum equal to target.Examples:Input:
...read more
Arrays
subset
Dynamic Programming
Combinatorial
DSA
Python program to get all subsets of given size of a set
Last Updated: 09 August 2021
Given a set, write a Python program to generate all possible subset of size n of given set within a list.Examples:Input : {1, 2, 3}, n = 2Ou
...read more
Combinatorial
Python
Python Programs
python-set
Python set-programs
DSA
Program to calculate value of nCr
Last Updated: 02 August 2024
Given two numbers N and r, The task is to find the value of NCr. Combinations represent the number of ways to choose r elements from a set
...read more
Mathematical
Combinatorial
factorial
binomial coefficient
DSA
Basic Coding Problems
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
Dynamic Programming
1.5k+ articles
permutation
240+ articles
Permutation and Combination
150+ articles
Count ways to reach the nth stair using step 1, 2 or 3
Last Updated: 12 December 2024
A child is running up a staircase with n steps and can hop either 1 step, 2 steps, or 3 steps at a time. The task is to implement a method t
...read more
Dynamic Programming
Combinatorial
Competitive Programming
DSA
itertools.combinations() module in Python to print all possible combinations
Last Updated: 13 August 2024
Given an array of size n, generate and print all possible combinations of r elements in array. Examples:Input : arr[] = [1, 2, 3, 4],
...read more
Combinatorial
Python
Python-Library
DSA
Combinational Sum
Last Updated: 13 August 2024
Given an array of positive integers arr[] and an integer x, The task is to find all unique combinations in arr[] where the sum is equal to x
...read more
Microsoft
Amazon
Adobe
Backtracking
Combinatorial
Recursion
DSA
Painting Fence Algorithm
Last Updated: 11 November 2024
Given a fence withnposts andkcolors, the task is to find out the number of ways of painting the fence so thatnot more than twoconsecutive po
...read more
Dynamic Programming
Mathematical
Combinatorial
Competitive Programming
DSA
Find all distinct subsets of a given set using BitMasking Approach
Last Updated: 16 August 2024
Given an array of integers arr[], The task is to find all its subsets. The subset can not contain duplicate elements, so any repeated subset
...read more
Microsoft
Amazon
Backtracking
Combinatorial
DSA
Permutations of a given string using STL
Last Updated: 11 July 2022
A permutation, also called an "arrangement number" or "order", is a rearrangement of the elements of an ordered list S into a one-to-one cor
...read more
Strings
Combinatorial
STL
permutation
DSA
Permutation and Combination in Python
Last Updated: 08 March 2023
Python provides direct methods to find permutations and combinations of a sequence. These methods are present in itertools package.Permutati
...read more
Combinatorial
Python
permutation
DSA
Count Derangements (Permutation such that no element appears in its original position)
Last Updated: 22 November 2024
A Derangement is a permutation of n elements, such that no element appears in its original position. For example, a derangement of [0, 1, 2,
...read more
Dynamic Programming
Mathematical
Combinatorial
DSA
Find the Factorial of a large number
Last Updated: 30 July 2024
Find the factorial of a large number. What is Factorial of a number?Factorial of a non-negative integer, is the multiplication of all integ
...read more
Strings
Microsoft
Morgan Stanley
MAQ Software
BrowserStack
MakeMyTrip
Mathematical
Combinatorial
Philips
factorial
number-theory
DSA
Print all possible strings of length k that can be formed from a set of n characters
Last Updated: 28 May 2022
Given a set of characters and a positive integer k, print all possible strings of length k that can be formed from the given set.Examples:In
...read more
combinatorics
Java
Combinatorial
Recursion
Java-String-Programs
DSA
Lexicographic rank of a String
Last Updated: 11 September 2024
Given a string str, find its rank among all its permutations when sorted lexicographically.Note: The characters a string are all unique.Exam
...read more
Strings
FactSet
Combinatorial
number-theory
DSA
Permutations of given String
Last Updated: 06 January 2025
Given a string s, the task is to return all permutations of a given string in lexicographically sorted order.Note: A permutation is the rear
...read more
Strings
Amazon
Samsung
Walmart
Cisco
Citrix
Snapdeal
Accolite
MAQ Software
Greedy
Backtracking
Mathematical
Combinatorial
OYO
permutation
Recursion
Apple
strings
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !