Earlier quoted context omitted.
I would be interested if you could expand on how you would alter the NN architecture for different sized lists
You would have to deal with a maximum size limit, or sort only sections of it at a time. I mean it might technically be possible if you did some kind of recurrent neural network and gave the inputs through time rather than through space. And you would also have to let it interact with some kind of external memory or workspace. Perhaps you could train it to just perform operations on the list itself (compare two eleme…
A maximum size limit is an obvious troll to get down to O(1) sort!