# Past Challenges

## 44. Longest Palindromic Substring

61%

Write a function `solve` that finds the longest palindromic substring in a string.

**Example:**  `Input: "babd"`  `Output: "bab"`

Make sure you `return` your solution, don't print!

```python
def solve(s):
    pass
```

Test Cases

Attempts
