# Palindrome from two equal-length strings — interview question

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/3502/form-palindrome-from-strings
Source observed: 2026-11-05T01:26:23.669Z
Last checked: 2026-11-05T01:26:23.669+00:00
Indexed: 2026-11-07T03:11:16.707+00:00

---

# Given two strings of equal length, determine if it's possible to form a palindrome by cutting them in half.

We provide this Aced coding-interview question for practicing data structures and algorithms. It asks whether two strings of equal length can be cut in half and combined to form a palindrome. The supplied question does not include a worked solution or additional problem constraints.

## Interview details

- **Role:** [Machine Learning Engineer](https://www.aced.io/questions?role=ml-engineer)
- **Company:** [Google](https://www.aced.io/questions?company=google)
- **Categories:** [Data Structures & Algorithms](https://www.aced.io/questions?type=algorithms), [Coding](https://www.aced.io/questions?type=coding)
- **Reported last asked:** 3 years ago
- **Interview record:** 1 interview

## Community answers

No answers have been contributed by the community yet. To answer, [log in or sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/3502/form-palindrome-from-strings). Submitting an answer marks this question complete.

## Related questions

- [Palindrome after at most one swap](https://www.aced.io/questions/4644/palindrome-swap) — determine whether a string can become a palindrome by making at most one swap of two characters.
- [Editable palindrome string](https://www.aced.io/questions/6306/determine-editable-palindrome-string) — determine whether a string can become a palindrome after specified edits.
- [Valid Palindrome II](https://www.aced.io/questions/6033/valid-palindrome-ii) — determine whether a string can become a palindrome after deleting at most one character.

## Related courses

![Machine Learning Engineer Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/6UfkHxUyLQVfDHSfLNQtWa/1be1539a65b4f6f15201f5b573c0a578/ML_Engineer_Interview_Prep_Course.jpeg?w=800&h=800&fm=webp&q=75)

### [Machine Learning Engineer Interview Prep](https://www.aced.io/courses/ml-engineer)

Prepare for machine-learning roles at Meta, Google, Amazon, Apple, Microsoft, Nvidia, and other companies with mock interviews, frameworks, and advice from senior candidates. Topics include ML system design, core concepts, coding, and behavioral interviews.

![Behavioral Interviews: A Practical Guide for Engineers](https://images.ctfassets.net/x78yjrjc11pq/47qcoHjzFZXE37GoacedkB/9d8e3f4910d8b06b21e76745cd9cbff3/AdobeStock_1142146335.jpeg?w=800&h=800&fm=webp&q=75)

### [Behavioral Interviews: A Practical Guide for Engineers](https://www.aced.io/courses/eng-behavioral)

Prepare for senior-plus behavioral interviews at FAANG and Tier-1 companies. Staff and principal engineers from Meta, Netflix, Google, and other companies contributed to the course. It covers avoiding downleveling, elevating past projects, and giving natural-sounding answers.

## Access and account actions

Detailed company statistics require an [upgrade](https://www.aced.io/upgrade?src=questions). Use the sign-up or login options to answer or save the question.

## Question navigation

- [All Questions](https://www.aced.io/questions)
- [Coding Questions](https://www.aced.io/questions?type=algorithms&filterBy=codeEditor&src=nav)
- [Machine Learning questions](https://www.aced.io/questions?role=ml-engineer&type=machine-learning&type=concept&src=nav)
- [Practice](https://www.aced.io/practice?src=nav)
- [Courses](https://www.aced.io/courses?src=nav)
- [Coaching](https://www.aced.io/coaching?src=nav)
- [Pricing](https://www.aced.io/upgrade?src=nav)

Aced is formerly Exponent.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3502%2Fform-palindrome-from-strings&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3502%2Fform-palindrome-from-strings). Opening a form does not execute a tool.