prompt: Write a Python function `reverse_words(s)` that reverses the order of words in a string. Return only a fenced Python code block.


prompt: Write a Python function `is_palindrome(s)` returning True if s is a palindrome ignoring case and non-alphanumeric characters. Return only a fenced Python code block.


prompt: Write a Python function `merge_intervals(intervals)` that merges overlapping intervals given as a list of [start, end] pairs and returns the merged list sorted by start. Return only a fenced Python code block.


prompt: Write a Python function `fizzbuzz(n)` returning a list of strings for 1..n with the usual FizzBuzz rules. Return only a fenced Python code block.

call: fizzbuzz


prompt: Write a Python function `two_sum(nums, target)` returning the indices of the two numbers adding to target, as a sorted list. Return only a fenced Python code block.