what do you mean AI? you must be joking.
Some students might mix up the algorithms, some might give the incorrect computation complexity, some might describe them incorrectly in some way.
Manually grade some (or all of) the answers by noting the kinds of things students got wrong (e.g. the above criteria). Then, feed in to ChatGPT (or your favorite alternative) the answer + the categories of mistakes to expect.
Here's a simplified example: https://chat.openai.com/share/bf801e12-51d5-4255-9968-bbf91b...