Java dilinde, dizideki elemanların kaç kez tekrar edildiğini yani frekanslarını bulan programı yazınız.
Senaryo
Dizi : [10, 20, 20, 10, 10, 20, 5, 20]
Tekrar Sayıları
10 sayısı 3 kere tekrar edildi.
20 sayısı 4 kere tekrar edildi.
5 sayısı 1 kere tekrar edildi.
Ödev
Submit your work to complete this lesson.
Join the project workspace to share your solution and receive feedback.
HackerRank Challenge
Join the challenge to submit your solution.
Dizileri öğrendin, şimdi challenge zamanı! Hackerrank profili aç ve [şu challenge’ı](https://www.hackerrank.com/challenges/java-1d-array/problem) yap:
Challenge’ı yapıp Hackerrank profilinin linkini aşağıdaki kutucuğa yaz:
Lesson discussion
Swap insights and ask questions about Java101
Be the first to start the discussion
Ask a question or share your thoughts about this lesson.