Palindrome Pairs at Airbnb

Hard36.9% acceptance

This problem has 87.5% frequency at Airbnb.

Problem Description

You are given a **0-indexed** array of **unique** strings `words`. A **palindrome pair** is a pair of integers `(i, j)` such that: * `0 <= i, j < words.length`, * `i != j`, and * `words[i] + words[j]` (the concatenation of the two strings) is a palindrome. Return _an array of all the**pal...

Read full problem and hints

Topics

Also asked at 6 companies


More Airbnb Questions

View all Airbnb questions