1) Write an algorithm (in a text file) that takes 'n' numbers as input and adds them to the linked list. Make sure the nodes of the linked list are sorted based on the numbers given as input.
2) Write an algorithm (in a text file) that takes 'n' as an input and removes nodes from the linked list which match 'n'