Also reported as Implement 2048 · 2048 Tilt Function
Glean phone-screen question, reconstructed from 5 candidate reports (February 2026 to October 2026). Candidates reported 3 follow-ups. The write-up includes a Python solution that passes 13 test cases.