space complexity of O(1).
Dll(doubly linked list)
DLL?
It's an infamous interview question. Google it up. Basically you just need to rearrange the references
Обсуждают сегодня