Find duplicate characters and its occurrences in a given string

preview_player
Показать описание
Playlist: Data Structures and Algorithms
Рекомендации по теме
Комментарии
Автор

This was recently asked this in an interview and I couldn't complete.😅
Thanks for this!

toufiqahmedshaikh
Автор

Can you please share coding questions asked in google interview ?

shaan
Автор

Hi bro,
Can you please create a program to count the "consecutive" occurunces of a number in an array?
Like, suppose the array be [100 100 2 7 100 100 100 1 1 3]
The ouput would be like: [100=2, 2=1, 7=1, 100=3, 1=2, 3=1]

andrews