Symmetric Pairs

  • + 0 comments

    This problem can be solve using divide and conquer. There are two cases in this problem: 1:(20,20),(20,20)......... there could be many rows like this 2:(22,23),(23,22)....... there could be many rows like this

    if you solve both cases and 'merge' them.