Hackerrank Sherlock and Valid String

preview_player
Показать описание
#java #hackerrank #valid_string
Рекомендации по теме
Комментарии
Автор

does not pass for case abbac because we can delete c and should expect outputas yes but is_all_same will take its count as 0 and give No as answer

vraih
Автор

The solution is very clear, could you please create a playlist with more videos? Thanks

dhineshp
Автор

Thanks for the solution.
Question, what is the point of line 65: [ int index = ]
doesnt arrayList.get(i) take in the index anyway? can you just say [ index = i; ]

KonbanwanardSC