DSA
DSA copied to clipboard
Data Structures and Algorithms (Swaminathan J)
I am adding some most important questions on Bit Magic frequently asked in Interviews.
Please accept this soltion also
Without reassigning the prev links, we will still go to the deleted nodes when we traverse from tail.
https://github.com/swaminathanj/DSA/blob/f2db8a2ae49c61d0ab5764aed3ea66fbdb245300/src/AVLNode.java#L37 I think the line should be left.computeBalance()