โ† Amazon questions

Palindromic Paths in Matrix

Filed under Amazon

Given a matrix of characters, find the number of paths from the top-left to the bottom-right corner such that the string formed along the path is a palindrome. You can only move right and down.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.