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
Return the first and last characters of a character array
Basic commands - amount of inputs
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office