From 28ddc54359a84936bb9ea0ff75ad9e01547238c9 Mon Sep 17 00:00:00 2001 From: chayan das Date: Sat, 13 Sep 2025 23:35:24 +0530 Subject: [PATCH] Create 3541. Find Most Frequent Vowel and Consonant --- 3541. Find Most Frequent Vowel and Consonant | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 3541. Find Most Frequent Vowel and Consonant diff --git a/3541. Find Most Frequent Vowel and Consonant b/3541. Find Most Frequent Vowel and Consonant new file mode 100644 index 0000000..f624fc0 --- /dev/null +++ b/3541. Find Most Frequent Vowel and Consonant @@ -0,0 +1,19 @@ +class Solution { +public: + int maxFreqSum(string s) { + int n = s.size(); + int hash[26] = {0}; + for(int i =0;i