Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 318 Bytes

File metadata and controls

18 lines (14 loc) · 318 Bytes

Toggle Case

Easy


  1. You are given a string that contains only lowercase and uppercase alphabets.
  2. You have to toggle the case of every character of the given string.

Example 1:

Input:  pepCODinG
Output:  PEPcodINg

Constraints:

1 <= length of string <= 1000