At least in theory that’s not what homework is. Homework should be exercises to allow practicing whatever technique you’re trying to learn, because most people learn best by repeatedly doing a thing rather than reading a few chapters of a book. By applying an LLM to the problem you’re just practicing how to use an LLM, which may be useful in its own right, but will turn you into a one trick pony who’s left unable to do anything they can’t use an LLM for.