Write a function to solve this problem, and then analyze the space and time complexity of your solution.
The supplied prompt contains no underlying algorithmic problem, input format, output format, or constraints. Implement a function that reports which required specification elements are missing.
Given a prompt string, return a list containing, in this order, any missing elements from problem, input, output, and constraints. Treat a case-insensitive occurrence of each word as present.
def missing_requirements(prompt):