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.
Find Merge Point of Two Lists
Find Merge Point of Two Lists
Sort by
recency
|
1223 Discussions
|
Please Login in order to post a comment
constrain should mention that data would be positive only, or did I just find a bug :P
The Constraint LIES:
that is a lie. i fixed my code by allowing search for head it answered correctly.
c++ solution:
Simple Python code:
My Java 8 Solution
My Java solution with o(n) time and o(1) space: