- 3 A Palindrome Is A Word Number Phrase Or Other Sequence Of Characters Which Reads The Same Backward As Forward Suc 1 (56.84 KiB) Viewed 35 times
3. A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, suc
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3. A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, suc
3. A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as "madam" or "racecar". Write a function that takes a character array and returns 1 if it is a palindrome and 0 otherwise. Use ONLY queue function(s) ("enqueue" OR "dequeue") to do this! Example: Input array: X m a a m Output: 1 ALSO TEST YOUR FUNCTION WITH THE "Input" above (the result should be the "Output above) and take screenshots of your MATLAB or MATLAB ONLINE screens and include them in your answer. NO SCREENSHOT =0 marks for this whole assignment!