Time complexity understanding

can u please tell me the time complexity of all the operation insertion,insertion in middle, as well as as insertion at tail
and how to find the time complexity of such solutions

If insertion is at head then it will take O(1) time
If insertion is at Tail then it will take O(N) time

It depends on what position you are placing it, suppose you have to place it at p position from start, then it will take O( P )

There will be a section in your course named space and time complexity. Do that section and you will know how to calculate space and time complexity