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 find it funny that you criticize the problem statement but you (nearly all of you) keep writing x <= y, whis has no well defined meaning!! If the pairs are (x1,y1) and (x2,y2) - There is no "x", no "y", only P1=(x1,y1) and P2 = (x2,y2) ! And when one pair has its x component smaller, then by definition the second has its x component larger.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Symmetric Pairs
You are viewing a single comment's thread. Return to all comments →
I find it funny that you criticize the problem statement but you (nearly all of you) keep writing x <= y, whis has no well defined meaning!! If the pairs are (x1,y1) and (x2,y2) - There is no "x", no "y", only P1=(x1,y1) and P2 = (x2,y2) ! And when one pair has its x component smaller, then by definition the second has its x component larger.