HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof ⚡
MIT License
875 stars 1.05k forks source link

PrintAllSubsequences_Recursion #1152

Closed sukritidawar closed 3 years ago

sukritidawar commented 3 years ago

🚀 Feature

Given a string, print all the possible subsequences of the string, using recursion. “abcd” has following subsequences “”, “d”, “c”, “cd”, “b”, “bd”, “bc”, “bcd”, “a”, “ad”, “ac”, “acd”, “ab”, “abd”, “abc”, “abcd” Example: Input : abcd Output:

d c cd b bd bc bcd a ad ac acd ab abd abc abcd

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

Helps in understanding the basics of recursion.

Pitch

(Please explain why this feature should be implemented and how it would be used.)

sukritidawar commented 3 years ago

I want to work on this issue in c++

narayan2111 commented 3 years ago

I want to work on this issue in python

ag278 commented 3 years ago

I want to work on this issue in C

rutujadhanawade commented 3 years ago

I would like to do this in java

siddharth25pandey commented 3 years ago

I want to work on this issue in c++

@sukritidawar Go ahead with C++ All the very best

siddharth25pandey commented 3 years ago

I want to work on this issue in python

@narayan2111 Go ahead with Python All the very best

siddharth25pandey commented 3 years ago

I want to work on this issue in C

@ag278 Go ahead with C All the very best

siddharth25pandey commented 3 years ago

I would like to do this in java

@rutujadhanawade Go ahead with Java All the very best

narayan2111 commented 3 years ago

kindly add hacktoberfest label on this issue ,this issue is counted towards hacktobefest. @iamrajiv @plazzy99

github-actions[bot] commented 3 years ago

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!