Sometime it is much more easier to use a dummy head or help head.
It can also be done without using dummy head.
So should I use it or try not to use it? especially during interview.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.