← Amazon questions

Maximum continuous sum in array and circular linked list

Filed under Amazon

Find the maximum contiguous subarray sum in an array containing both positive and negative numbers (Kadane's algorithm), and extend the concept to find the maximum circular subarray sum.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.