結果 : frequency count method in algorithm example