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 also made this one at the first time.
But the problem is, if there is a record x=y (example: (1,1),(2,2)) even if it's only one row, this code will return these records which are not symmetric pairs.
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 also made this one at the first time. But the problem is, if there is a record x=y (example: (1,1),(2,2)) even if it's only one row, this code will return these records which are not symmetric pairs.