We can use regular expressions let a=" please like and subscribe "; let f=a.match(/[a]/g); console.log(f.length);
Nice explanation ... you can also check with match() method
Nice explanation bro ๐๐ฅ๐๐
Nice logic !
Very good logic
Good explanation ๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐
Nice trickโค
Super
data.count('a')
Aina sare ardham kale
U got subscriber bro..
bro long videos pettandi bro clear gaa
Incase if we have 'a' letter at the end of sentence...
String ni iterate chestey saripodhi kadhaa O(n) time complexity
for loop kuda vadavachu kada enka simple ga ipotundi
E mathram short cut videos unte chalu Interviews lo chelaregipochu๐
Bro c# videos kuda cheyava๐
โค
What if a is an beginning letter of string
@software-school