Fetching algorithms...
head = [3, 2, 0, -4], pos = 1
true
head = [1, 2], pos = 0
head = [1], pos = -1
false
head = []
Time Complexity
Space Complexity