Finding Repetitive Character in String? in தமிழ் | Java | Explained | DinaTechy

  Рет қаралды 39

DinaTechy

DinaTechy

Күн бұрын

Here's a explanation for Printing Repetitive characters in a String:
Logical Theory :
1. Start with an empty result set to store repetitive characters.
2. Iterate through each character in the string using for loop from the left to right.
3. For each character, compare it with the next character:
1. If they match, add the character to the result set (if not already present).
2. If they don't match, move to the next character.
4. Continue this process until you reach the end of the string.
5. The result set will contain all characters that appear consecutively at least once in the string.
6. Print or return the characters in the result set.
Thanks for watching the video Guys,
Like and Support Guys,
Subscribe and Support Guys.

Пікірлер
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 71 МЛН
"Mastering Upcasting & Downcasting in Java Inheritance"
1:10:27
Vidyarthijivan
Рет қаралды 67
Ai Code Editors Are Ruining Tech
7:41
Melkey
Рет қаралды 6 М.
Method Hiding & Abstract Methods in OOP"
53:20
Vidyarthijivan
Рет қаралды 44
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 71 МЛН