Question: using Mips Assembly A palindrome is a string that reads the same backwards as forwards. For example, abcba, 1221, 55555 etc. Write an assembly program
using Mips Assembly
A palindrome is a string that reads the same backwards as forwards. For example, abcba, 1221, 55555 etc. Write an assembly program that reads a string and its size and check if it is palindrome or not.
If the input string is not a palindrome, Output a palindrome that is produced by changing the minimum possible number of characters. Changing a character means replacing it with any single character at the same position. You are not allowed to remove or add any characters.
Sample Testcase Input: ameba
Output: 1, abeba
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
