There is a small doubt in print subsequences lecture

so the doubt is that we are passing a String lets says “abc”
and as we know string is immutable . Then my question is that a each time when we call a function there is a new String created in a memory…so is it better to use a string Builder instead of a String ??

Hey @mayanktiwari6957
You can do it There may be some changes.
Try your self first