LeetCode Question · Oct 2021

Amazon online assessment Linked List max pair

9 upvotes 3,730 views 8 replies

Question Details

Give a linked list, which has even number of nodes, please return the maximum sum of PAIR A pair means the node[i] and node[n-i], which n is linked list length. example: [1,2,3,4,9,11] 1st...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Linked List