Computer Science, asked by sudipmazumdar18, 2 months ago

Let's study the Palindrome number and Permutation today. Palindrome is a phrase, number or sentence that reads the same either from start or end. A palindromic number is a number that remains the same when its digits are reversed. In other words, it has reflectional symmetry across a vertical axis. For example:- 1221, 1661, 5, 131. Permutation of N numbers is the arrangement of N different numbers from 1 to N. For example one of the possible permutation of 5 numbers is 3, 2, 4, 1, 5

You have a permutation of N numbers and you want to change it into a palindrome. You can perform only a single operation as many times as you want, that is choose any two numbers and replace them with their sum. What will be the minimum operations you need to change the permutation into a palindrome?

Ceil of N/2

N-1

Previous

Floor of N/2

Can not be determined

Answers

Answered by DarksiteGaming
0

Answer:

it's about Palindrome number

hope this will help you

Answered by laxmichirag1984
0

Answer:

op I don't now bro sorry

Explanation:

kxkkdkdkdkflkfkfjkfkfkfkkf

Similar questions