text: Return ans + 1 ( Because the given string is also a unique permutation )
code: return ans + 1 ; } public static void Main ( String [ ] args ) { String str = " sstt " ; Console . WriteLine ( validPermutations ( str ) ) ; } }