the complexity of input of linked list is o(n*n).then it already become useless in competitive programming.is their any other method to take input except explained in video tutorial.
Inputing linked list
input of any is not consider in TC the algorithm u work on input is the tc