When I run the file display.html with the linkedlist.js (which is available on my DSP repository) , I encountered the following error and couldn't fix it at all.
Uncaught TypeError: Cannot read property 'subject' of null
at LinkedList.Generate (linkedlist.js:110)
at linkedlist.js:185
I want to get the 'subject' of the 'current' variable.
The delete_element function is working when I'm normally deleting the nodes of a linked list, but in the time table generator function, and the delete_element function doesn't work there. I get a segmentation fault.
Refer program linked_list.c