Hello, Srijith Vijay. Thank-you for creating this interesting Problem. In your Problem Statement you refer to "a string/character array". It is worth noting that the 'string array' data type (string) and the 'character array' data type (char) are different, and functions that work for one of these data types don't always work correctly with the other. If you want Players to accommodate both data types, it would be best to include such in the Test Suite. If you only want Players to work with inputs of the string data type, then your Problem Statement could be reworded to improve the clarity. Regards, DIV.
Given an unsigned integer x, find the largest y by rearranging the bits in x
795 Solvers
Return the first and last characters of a character array
3639 Solvers
621 Solvers
146 Solvers
Basic commands - amount of inputs
135 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!