EmbeddedInterviewLab
Topics
Interview
Coding
Toggle menu
Start Learning
All Problems
Reverse Linked List
Easy
•
linked-list
•
Expected: O(n) time, O(1) space
•
Interview Context
linked-list
Problem
Given the head of a singly linked list, reverse the list and return the reversed list.
Show Reference Solution
Language:
C++
C
Submit
Loading...