We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
It luckily works since the values of h1 and h2 will always be different since they store pointer locations. So, technically it returns false, but for a very confusing reason.
Compare two linked lists
You are viewing a single comment's thread. Return to all comments →
It luckily works since the values of h1 and h2 will always be different since they store pointer locations. So, technically it returns false, but for a very confusing reason.
HackerRank solutions.