Education + Jobs Hiring Website - 2025
0 like 0 dislike
1,072 views

2. Given an array, you can perform the following operation:
take two numbers from the array lets say x and y, replace every occurrence of y with x. Minimise the number of operations to convert the array to palindromic and return the least number of operations obtained.

in Online Assessments by Expert (135,430 points) | 1,072 views

Please log in or register to answer this question.