Loading Question...
Given an array of strings, find the number of complementary pairs that can be formed. A complementary pair is defined as two strings that can be concatenated and rearranged to form a palindrome.
Expert in Data Structures & Algorithms. Building tools to help developers crack FAANG interviews.