Append Characters to String to Make Subsequence | Simple Approach | Leetcode 2486 | codestorywithMIK

Append Characters to String to Make Subsequence | Simple Approach | Leetcode 2486 | codestorywithMIK

codestorywithMIK

1 месяц назад

3,929 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@jagadeeshp1163
@jagadeeshp1163 - 03.06.2024 15:55

50K GOAT FOR A REASON 🌝♥

Ответить
@akashbhardwaj-gd4go
@akashbhardwaj-gd4go - 08.06.2024 10:21

50k

Ответить
@himanshijha6448
@himanshijha6448 - 04.06.2024 09:46

Amazing explanation

Ответить
@devshubham5528
@devshubham5528 - 03.06.2024 21:07

ye video dekhne ke baad is subsequence wala bhi karlia, Great explanation

Ответить
@gauravbanerjee2898
@gauravbanerjee2898 - 03.06.2024 20:43

Congrats for 50k bhaiya 🥳❤ Thanks a lot for making videos regularly 😊 Love you 3000 ❤

Ответить
@mriit3025
@mriit3025 - 03.06.2024 19:56

THANK YOU for your explanation! it means alot to find your explanation daily, with your support by this videos i got 225 days 🔥

Ответить
@YashSinghal
@YashSinghal - 03.06.2024 19:45

Congratulations on 50k !!

Ответить
@kartikrameshchavan4710
@kartikrameshchavan4710 - 03.06.2024 19:00

Congratulation Sir 🙏

Ответить
@komalsingla6032
@komalsingla6032 - 03.06.2024 17:37

Nation wants to knows thought process/intuition behind this channel.😀

Ответить
@visheshpandey9070
@visheshpandey9070 - 03.06.2024 17:22

congratulations on 50k , now 100k very soon

Ответить
@gyaneshwar7647
@gyaneshwar7647 - 03.06.2024 17:08

I solved this question by my self, just came here to watch your explanation, I did the question same way,..thank you for your videos, Watching your videos has become my daily routine.

Ответить
@rudraranjan7052
@rudraranjan7052 - 03.06.2024 14:55

obsessed with your channel ....u make all concepts question so easy sir ..already done the graph series...
congrats on 50 K 🥳

Ответить
@pintushkumar7542
@pintushkumar7542 - 03.06.2024 14:14

congratulations 🎉🎉 sir 50k I am here with you 5k

Ответить
@inglevivek8351
@inglevivek8351 - 03.06.2024 13:23

congrats on 50k mik🥳🥳

Ответить
@abhisheksingh-rz8nj
@abhisheksingh-rz8nj - 03.06.2024 12:40

Best DSA channel on you tube

Ответить
@AdarshSingh-is6mg
@AdarshSingh-is6mg - 03.06.2024 12:25

@codestorywithMIK thank u bhaiya

Ответить
@manimanohar_001
@manimanohar_001 - 03.06.2024 11:21

Bro SWEEP LINE ALGORITHM pe ek video bna do YT par bahut kam videos hai.

Ответить
@manimanohar_001
@manimanohar_001 - 03.06.2024 11:20

Bro just 100 subs need to 50k, be ready for the story.

Ответить
@tusharnanda3885
@tusharnanda3885 - 03.06.2024 11:05

class Solution {
public:

int appendCharacters(string s, string t) {
int n = s.size(), m = t.size();
int i = 0, j = 0;
while(i<n)
{
if(j<m && s[i] == t[j])
j++;
i++;
}

return t.size()-j;
}
};

Ответить
@nikhilhaspe2734
@nikhilhaspe2734 - 03.06.2024 10:26

|| JAVA SOLUTION ||

class Solution {
public int appendCharacters(String s, String t) {
int i=0, j=0;
boolean flag = false;

while(i<s.length() && j<t.length()){
if(s.charAt(i) != t.charAt(j)){
i++;
}else{
i++;
j++;
}
}

if(j == t.length())
return 0;
else
return t.length() - j;
}
}

Ответить
@pokeindia5361
@pokeindia5361 - 03.06.2024 10:17

Bhaiya longest valid parantheses pe video layiye please nhi ho raha h.... Please acha q h important bhi h

Ответить
@Zaheer__zk40
@Zaheer__zk40 - 03.06.2024 10:17

The way he explain the thinking process it makes every question as easy ✅✅✅✅✅✅🙎‍♂

Ответить
@spdh6325
@spdh6325 - 03.06.2024 09:34

Today i could solve it! June starts with Interesting

Ответить
@darkbgm4582
@darkbgm4582 - 03.06.2024 08:31

65 cases pass🥺

Ответить
@rishabgupta4296
@rishabgupta4296 - 03.06.2024 08:00

Please make a video on Leetcode 3171

Ответить
@Thriftinghai
@Thriftinghai - 03.06.2024 05:48

Leetcode meherban hai. Easy aa rahe 😅

Ответить
@dipalisharma4682
@dipalisharma4682 - 03.06.2024 05:44

bhaiya shyd solution code ulte hogye h java ka cpp m aur cpp ka java m ..check krlo 1 bar

Ответить
@nish0798
@nish0798 - 03.06.2024 05:23

bro when are you planning to continue dp series please try to finish the dp concept series and try to cover all the concepts of dp and congrats for 50k give gift to students with your dp series. 😅

Ответить
@whothefisyash
@whothefisyash - 03.06.2024 05:12

Ez one

Ответить
@ugcwithaddi
@ugcwithaddi - 03.06.2024 05:02

Congratulations in advance for 50K
Soon 100K coming

Ответить
@aws_handles
@aws_handles - 03.06.2024 04:43

Waiting for 50k story video 😍😍😍

Ответить