Basically, you are in a call with your interviewer (or potentially in person, depending on the stage). They will present you with a question, and you must talk your way through the solving process.
You are given a 0-indexed integer array strength, where strength[i] denotes the strength of the ith wizard.
For a contiguous group of wizards (i.e., the wizards' strengths form a subarray of strength), the total strength is defined as the product of the following two values:
Return the sum of the total strengths of all contiguous groups of wizards. Since the answer may be very large, return it modulo 10^9 + 7.
The following metrics were computed from 1,213 interview experiences for the Amazon Software Engineer role in United States.
Amazon's interview process for their Software Engineer roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Amazon's Software Engineer interview process in United States.