you give 0indexed string word consist lowercase english letter you need select index remove letter index word frequency letter present word equalreturn true possible remove letter frequency letter word equal false otherwisenotethe frequency letter x number time occur stringYou remove exactly letter choose Example 1input word abccoutput trueexplanation Select index 3 delete word abc character frequency 1example 2Input word aazzOutput falseexplanation we delete character frequency 1 frequency z 2 vice versa it impossible present letter equal frequency Constraints2 wordlength 100word consist lowercase english letter