LeetCode
Question
·
Jul 2022
·
India
Amazon| SDE 2| India|OA| Linked List
1 upvote
529 views
2 replies
Question Details
Given a Linked List, Reverse the Linked list as shown below by swapping nodes (without changing the value of data in its nodes) Input: 0->1->2->............->(n-3)->(n-2)->(n-1) Output: (n-1)->1->(n-3)->..............->2->(n-2)->0 Eg: Input-1: 1->2->…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Linked List
More from Amazon
Reddit
175 k remote offer or 300 k in Bay Area
Reddit
Done with 3 rounds of On-site Amazon SDE 1 interview , but no communication after that. What to do?
Reddit
Nned direction for future prepration.
Reddit
Have an Amazon. SDE1 interview in 4 days, need tips
Reddit
After many years in the industry, I still struggle with textbook definitions in interviews