How would you approach LeetCode-style palindrome and odd-number problems?
Implement palindrome_and_odds(s, nums). Determine whether s is a palindrome after ignoring non-alphanumeric characters and case, then return all odd integers from nums in their original order. Return an object with boolean is_palindrome and integer-array odd_numbers fields.
def palindrome_and_odds(s, nums):