Search⌘ K
AI Features

Palindrome Pairs

Palindrome Pairs asks you to return every ordered pair of distinct indexes in a unique string array whose concatenated words form a palindrome.

Statement

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