So my problem is that I am supposed to write code in order to prove whether or not text in a file is topologically sorted correctly.
I have the algorithm on how to do this, but the specifications say that I should use an array of lists to keep track of each element's successors.
The thing is, I have no idea how to even start this.
I know how to declare an array of like ints, but not of lists.
Could I have some help?