Longest Palindromic Substring
Expand-around-center takes O(n²) time in the worst case.
Auxiliary space is O(1), excluding the returned substring.
Dynamic programming can also solve the problem in O(n²) time and O(n²) space.
Manacher's Algorithm solves the problem in O(n) time but is more complex.
For production code, I would choose the approach based on input size and maintainability requirements.