Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
312 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 (133,970 points) | 312 views

Please log in or register to answer this question.