Given a string, find the minimum number of deletions needed to make it a palindrome.
GTACAT
2 deletions are needed to make the string "GTACAT" a palindrome.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Given a string, find the minimum number of deletions needed to make it a palindrome.

### Response:
2 deletions are needed to make the string "GTACAT" a palindrome.