25 Feb || Valid Compressed String || C++ || GFG - Problem of the day || POTD

preview_player
Показать описание
POTD link :

Solution File on GitHub:

View All Questions Here:

Hey guys!
In today's video I have solved the problem of the day of Geeks For Geeks - Valid Compressed String ( 25 Feb ) . Hit the like and subscribe button if you like the content.
Make sure you watch the video till the end!

Tags:
geeksforgeeks, gfg, potd, problem of the day, dsa, data structure, coding, programming, daily code challenge, geeks for geeks potd, gfg problem of the day, Valid Compressed String potd, Valid Compressed String gfg potd, Valid Compressed String geeks for geeks problem of the day, Valid Compressed String problem of the day, Valid Compressed String 25 feb gfg potd,Valid Compressed String gfg problem of the day, Valid Compressed String 25 feb , Valid Compressed String, 25 feb gfg potd, Valid Compressed String.

Hashtags:
#dsa #geeksforgeeks #potd #problemoftheday #gfg #programming
Рекомендации по теме
Комментарии
Автор

Don't forget to subscribe for daily videos 🤍

GamerBlade
Автор

Bro this explanation is actually so good. If you continue with the videos and increase production quality, you can actually go a long way.

VayunEkbote
Автор

good explanation as always
definately u get job on google for sure

akshayh.m
Автор

JAVA Code 👇👇👇👇
class Solution {
static int checkCompressed(String s, String t) {
// code here
int i=0, j=0, n=s.length(), m=t.length();

while(i<n && j<m){

int count=0;
while(j<m &&

j++;
}
i+=count;
}
else if(s.charAt(i)==t.charAt(j)){
i++; j++;
}
else if(s.charAt(i)!=t.charAt(j)){
return 0;
}

}
return (i==n && j==m) ? 1:0;

}
}

gaminghub
Автор

yr silly sa doubt hai but ye batao int returntype me boolean return krr skte ??

gauravparasar