def reverse(n):
previous = n
current = n.next
while current:
next = current.next
current.next = previous
previous = current
current = next
return current
Why is a manhole round?
Il y a 12 ans
This blog provides questions commonly asked at technical interviews for software engineering roles. Solutions are given for most questions. Questions come from different sources but answers are my own.
Aucun commentaire:
Enregistrer un commentaire