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.
You are hitting python's default recursion limit (which is quite conservative). Either revert your implementation into loops or use sys.setrecursionlimit() to increase the recursion depth.
Merge two sorted linked lists
You are viewing a single comment's thread. Return to all comments →
You are hitting python's default recursion limit (which is quite conservative). Either revert your implementation into loops or use
sys.setrecursionlimit()
to increase the recursion depth.