You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// isme subsequence bnana hai str2 ko toh baari baari str1 pr loop krenge hrr ek character jo str2 se match ho rha hai usko skip krke jo match nahi ho rhe unko dekhenge or +1 increment krenge cycly and agr pointer2 hmara last tk pahuch jata hai means usne saare characters ko convert kr dia hai cyclically vrna nai kiya
public boolean canMakeSubsequence(String str1, String str2) {