Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
leedcode
Explore topics
#leedcode
Global
Trending
Hot
New
Payout
Muted
Promoted
#leedcode
New
#leedcode
Follow to get notified about new posts with this tag
Get #leedcode by email
Follow
allthingjapan
reverse
8y
(#2 mock interview) Reverse Linked List Recursive Solution in Java | LeetCode 206
Reverse a singly linked list. Example: Input: 1 - 2 - 3 - 4- 5 - NULL Output: 5 - 4 - 3 - 2 - 1 - NULL Follow up: A linked list can be reversed either iteratively or recursively. We'll tackle this problem
$ 0.000
2
Discover communities
Explore communities
Create your community