Palindromes Pairs

Solve a hard-level problem on finding palindrome pairs using tries.

Problem statement

Given an array words of unique strings, return an array of index pairs (i,j)(i, j) such that arr[i]+arr[j]arr[i]+arr[j] is a palindrome.

Example 1

Sample input

Get hands-on with 1400+ tech skills courses.