Search⌘ K
AI Features

Palindrome Pairs

Palindrome Pairs asks you to find every ordered pair of distinct indexes whose two corresponding words concatenate to form a palindrome, returning the pairs as a list.

Statement

You are given a 0-indexed array of unique strings called words.

A palindrome ...