Available question text
Given an even-length string s and queries that allow arbitrary rearrangement of one substring in the left half and one in the right half per query, determine for each query whether those allowed rearrangements can make s a palindrome. The core challenge is to decide quickly, for many queries, whether character counts in the affected segments can resolve all mismatched character pairs across the two halves.
Related questions
Continue with questions that share topics or the same question type.
- Block Placement Queries
Coding · Array · Binary Indexed Tree · Binary Search
- Break a Palindrome
Coding
- Can Make Palindrome from Substring
Coding
- Closest Equal Element Queries
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2983. Palindrome Rearrangement Queries
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source