#Logical #interviewQues Java Program to Find the Count of Occurrences of Each Character in a String

preview_player
Показать описание
#count character occurence
#java
#job
#logical Question
#Interview
Рекомендации по теме
Комментарии
Автор

Thanks, great explanation. Keep it up the good work

dog_lover
Автор

This is one of the best logic. Have never seen in any site.

Автор

Thanks Its very nice logic to find out duplicate cout

tushardeurmalle
Автор

you can also use trim() method instead of replace

marotipanchal
Автор

Thanks a lot sir, and wish you all the very best.

digitallearning-
Автор

if(count>1) {
map.put(arr[i], count);
}
If you apply this logic then we will get only duplicate characters count.

Автор

The best Explanation I've ever seen..Thanks alot..❤❤

omkar
Автор

Super explanation sir do more videos on java developer

mohammadsalma
Автор

Sir you are the best teacher in my life i never see this type of explanation in coding ❤️ thankew so much sir 🙏🙏

dibyashreedash
Автор

and please make videos on collection interfaces and classes

pradnyagawai
Автор

can you explain the same question without having 2 for loop so that time complexity will reduce .

pradnyagawai
Автор

Hi Sir Very informative session, in above how it is printing the unique character because it may print like a=4 a=4 a=4 a=4 because arr[i] is traversing from 0 index to length

raviambadagatti
Автор

Getting error in
Map<Character, Integer> map = new TreeMap<>()
Error: Character cannot resolved to a type

kingsite
Автор

Sir why your use for loop inside another for loop, or anyone can explain this pls if possible....?

gauravpatil
Автор

Array index outof bound exception it's showing

rahulwani