Problem statement needs improvement


  • 13
    S

    There is no requirement that states i and j should be different in (i, j) pairs.
    So in example 2 (3, 3) should lead to 'ss' which is a palindrome.
    Problem statement should be corrected as:

    Find all pairs of distinct indices (i, j) in the given list, so that


  • 1

    Thanks for the correction! I have just updated the problem description.


  • 0
    Z

    Good improvement


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.