We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
A and B have same number of elements, doesn't it mean by changing 1 element in B to whatever value left in A we'll always end up with 1 more beautiful pair?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Pairs
You are viewing a single comment's thread. Return to all comments →
A and B have same number of elements, doesn't it mean by changing 1 element in B to whatever value left in A we'll always end up with 1 more beautiful pair?