Remove odd frequency characters from the string
Given string str of size N, the task is to remove all the characters from the string that have odd frequencies. Examples: Input: str = "geeksforgeeks" Output: geeksgeeks The characters f, o, r have odd frequencies So, they are removed from the string. Input: str = "zzzxxweeerr" Output: xxrr Approach