Company: Visa__
Difficulty: medium
Toggle Case of Text Problem Description Imagine you are developing a messaging application, and you want to include a feature that allows users to playfully toggle the case of text, making it more fun and engaging. Given a string inputText that includes uppercase and lowercase English letters, spaces, digits, and punctuation marks, your task is to write a function that toggles the case of each alphabetic character in the string (converting uppercase to lowercase, and vice versa), while leaving all other characters the same. Return the processed string with the case of each alphabetic character toggled. Note: You are not expected to provide the most optimal solution, but a solution with time complexity not worse than O(inputText.length) will fit within the execution time limit. Examples Example 1: Input: inputText = "Hello, World!" Output: "hELLO, wORLD!" Explanation: The case of each alphabetic character in the inputText is toggled. Uppercase letters become lowercase and vice versa, wh