Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given a string s. You can convert s to a palindrome by adding characters in front of it.
Return the shortest palindrome you can find by performing this transformation.
 
Please complete the following python code precisely:
```python
class Solution:
    def shortestPalindrome(self, s: str) -> str:
```