Grokking the Coding Interview: Patterns for Coding Questions
Vote

0% completed

​

Solution: Middle of the LinkedList

.....

.....

.....

Like the course? Get enrolled and start learning!
A

Anonymous

· 4 years ago

One thing that is really important about this solution is that, checking fast != null must come first because if fast is null, we cannot check fast.next (or we get an exception).

Reading Progress

0%


Vote for new content