I was searching for a institute for DSA. And i found out Pepcoding. The way Sumeet sir explains is much much engaging and the concepts seem crystal clear.
So nice of you. If this is helping you, you can support us by helping us conducting webinar in your college or simply by sharing about our channel in your college groups.
Some of the coding sites also ask us to maintain order in output something like exploring all possiblities for 1 then 2 and finally for 3 using backtracking. It will be useful if you can take an example of maintaining order and handling duplicates. Btw Thanks for uploading it as free content for everyone. Really appreciate.
Actually, you can further optimize the solution by just passing the index of the interested char. You are passing string again and again. An idx will just be easy and more space-optimized.
Summet sir has taught two methods to use recursion one is faith and E. And other is Level&Options Can any one tell me how to decide which method we have to choose on solving questions? Help please 🙏
Sir in previous videos while explaining the base case you said (" "), this has a size of 1. So here when we pair " " with abc size of elements will be 4, not 3
I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem. If you like our efforts, we request a review g.page/Pepcoding/review?rc You can subscribe to our channel here th-cam.com/users/Pepcodingabout?view_as=subscriber For clearing your doubts, you can join our community on telegram t.me/pepcoding
So nice of you and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
Sir I have seen you mentioning euler couple of times, while solving some recursive problems, but I don't find any lectures regarding euler in your channel, is it possible you can direct me or send a link of your video where you explained that?
I was searching for a institute for DSA. And i found out Pepcoding. The way Sumeet sir explains is much much engaging and the concepts seem crystal clear.
So nice of you. If this is helping you, you can support us by helping us conducting webinar in your college or simply by sharing about our channel in your college groups.
point
Some of the coding sites also ask us to maintain order in output something like exploring all possiblities for 1 then 2 and finally for 3 using backtracking. It will be useful if you can take an example of maintaining order and handling duplicates.
Btw Thanks for uploading it as free content for everyone. Really appreciate.
Alright ji. Will do some questions of that sort soon
I am mind blown by your contribution to society.
Thank you very much !! share among your peers
Sir aap kitna achha content bnate ho phir bhi aapko view kyo ni milte
I support pepcoding in you tube 👋👋👋😻😻🕺🕺
Actually, you can further optimize the solution by just passing the index of the interested char. You are passing string again and again. An idx will just be easy and more space-optimized.
u are speaking language of god
@@085-vaibhavgusain9 Yeah he's correct, to add to that. we can make the string global and access each character using index.
Hi Sir, How do we handle the case of repeated characters in the input string. Example : "aaa"
Watched on 29 Oct, 2021 - Thanks for the video.
Summet sir has taught two methods to use recursion one is faith and E. And other is Level&Options
Can any one tell me how to decide which method we have to choose on solving questions? Help please 🙏
Same question.
faith one
Sir in previous videos while explaining the base case you said (" "), this has a size of 1.
So here when we pair " " with abc size of elements will be 4, not 3
Wonderful explanation sir
I am glad you liked it. I also hope that you are watching till end and trying to understand the what, how and especially why of the problem.
If you like our efforts, we request a review
g.page/Pepcoding/review?rc
You can subscribe to our channel here
th-cam.com/users/Pepcodingabout?view_as=subscriber
For clearing your doubts, you can join our community on telegram
t.me/pepcoding
Sir apse acha teacher shayd hi koi hoga
Very well explained !!!
Sir please can you tell me is space complexity is only the diff between get subsequence and print subsequence.
sir signature toh change hoya ques ka, sirf 1 string se nhi krskte kya yeh ques?
Time complexity?
Sir yeh recursion ki playlist main kyun nahi hai!
In question, it was mentioned not to change the signature of the function. Sir, can we do this without changing the signature of the function?
Yes we can
@@Pepcoding okay!!
@@Pepcoding bina signature change kiye nahi ban ra sir
@@Pepcoding koi static counter variable rakhna hai kya sir ? but wo bhi tho ek tarah se violation hoga
use helper function
Sir, is it is working on the expectation and faith method? Please reply sir.
beta ye level and option style hai. thodi next videos mei clear ho jaega, dono styles ka difference.
@@Pepcoding sir,level and option method ka basic kon ci video me smjhaya h aapne???
are bca and cab subsequence of abc?
No
these are permutation
Sir, is it is compulsory to do competitive coding to get an internship or job at big companies for 3 tier college student?
Please reply sir.
Not necessary but beneficial
@@Pepcoding Thank u sir
Thank you so much sir🖤!
So nice of you and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
Sir I have seen you mentioning euler couple of times, while solving some recursive problems, but I don't find any lectures regarding euler in your channel, is it possible you can direct me or send a link of your video where you explained that?
Tree diagram ko he euler bolte h beta.
@@Pepcoding okay thank you sir
true Gem
sir base cases me problem ho raii hai
Sir mazza aa gaya..please send the quora link to write the review
(www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
sir agar string ye hai "aabc" to answer galat aega
aabc
aab
aac
aa
abc
ab
ac
a
abc
ab
ac
a
-------> repeated
bc
b
c
beta print distinct subsequence thode he hai question
Ae yo thanks man, it works
Thank u sir
All the best
Watched
Hope you liked it.
Keep learning.
And for better experience and well organised content visit nados.pepcoding.com
Sir i really doubt how u earn money?
Sir think mai ye kisi ko bhi samgha sakta hu program jisko bilkul programing nhi ati hai
achhha lgga sunkee beta!! keep watching and share as much as you can
Why this channel is dead now ?
its acquired by scalar
agar string me character repeat ho rhe hai to answer galat arha hai
*Python Code*
def printSS(q: str , a: str) -> None:
if len(q) == 0:
print(a)
return
first = q[0]
remaining = q[1:]
printSS(remaining, a + first)
printSS(remaining, a + "")
printSS("abcdefgh","")