Really nice explanation of the concept! One suggestion though, try using more descriptive variable names. It's okay if they look longer. Like 'k' could be changed to something like 'data' or 'valueFromList' and 'm' could be something like 'parentNode' or 'position'. It makes your code more readable.
Really nice explanation of the concept! One suggestion though, try using more descriptive variable names. It's okay if they look longer. Like 'k' could be changed to something like 'data' or 'valueFromList' and 'm' could be something like 'parentNode' or 'position'. It makes your code more readable.
Sure. Thank you for the suggestions 🙂