Search posts, tags, users, and pages
Linkjob AI
Real-time AI interview assistant
Given the head of a singly linked list, return true if it reads the same forward and backward. Easy version: copy to an array Push every value into a list and compare it with its reverse. That's O(n)
Markdown supported · ⌘↵ to post
No responses yet.