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

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

WriteCodeWith Prince

4 года назад

46,460 Просмотров

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


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

@pranav2003
@pranav2003 - 26.11.2023 08:40

Ответить
@marotipanchal2880
@marotipanchal2880 - 14.09.2023 13:38

you can also use trim() method instead of replace

Ответить
@tushardeurmalle5722
@tushardeurmalle5722 - 19.02.2023 15:15

Thanks Its very nice logic to find out duplicate cout

Ответить
@raviambadagatti5088
@raviambadagatti5088 - 15.12.2022 17:09

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

Ответить
@ateeqhalikhan4012
@ateeqhalikhan4012 - 16.09.2022 15:27

thanks alot..

Ответить
@gauravpatil6364
@gauravpatil6364 - 10.07.2022 22:21

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

Ответить
@rahulwani989
@rahulwani989 - 21.05.2022 21:38

Array index outof bound exception it's showing

Ответить
@venkatakrishna4942
@venkatakrishna4942 - 16.05.2022 20:06

Thank you so much sir

Ответить
@kiransingh8239
@kiransingh8239 - 06.05.2022 10:26

Best implementation,thanks a lot

Ответить
@omkar5577
@omkar5577 - 05.04.2022 08:15

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

Ответить
@joyal7701
@joyal7701 - 18.12.2021 16:33

why treemap is used?

Ответить
@mohammadsalma9996
@mohammadsalma9996 - 28.10.2021 11:36

Super explanation sir do more videos on java developer

Ответить
@dibyashreedash4183
@dibyashreedash4183 - 30.08.2021 20:07

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

Ответить
@pradnyagawai1634
@pradnyagawai1634 - 09.07.2021 09:37

and please make videos on collection interfaces and classes

Ответить
@pradnyagawai1634
@pradnyagawai1634 - 09.07.2021 09:36

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

Ответить
@kingsite8328
@kingsite8328 - 13.05.2021 15:21

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

Ответить