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.
I do not appreciate the "gotcha" descriptions. It is NOT stated explicitly that you should change one element in B to ANOTHER VALUE, therefore if the aim is to maximize the number of disjoint pairs I, and I hope any sane person, would read this requirement as changing one element in B unless the number of disjoint pairs is already maximal.
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 →
I do not appreciate the "gotcha" descriptions. It is NOT stated explicitly that you should change one element in B to ANOTHER VALUE, therefore if the aim is to maximize the number of disjoint pairs I, and I hope any sane person, would read this requirement as changing one element in B unless the number of disjoint pairs is already maximal.