4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

(#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 in a recursive way.

Learn to code CS interview *with fun!

If you have any questions about this interview question, or suggestions about coding questions, do let me know in the comment sections, as that will be my motivation to create another video.

Coding should be fun, shouldn't it? :D

#google #facebook #apple #amazon #codinginterview #programminginterview #leetcode #programminginterview #cs #computerscience #softwareengineer #SoftwareEngineerInterview #technicalCodingInterview #mockinterview


▶️ DTube
▶️ IPFS
2 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: