TL;DR: The fastest algorithm looks at every element once, keeping track of the largest one seen so far. Details. Intuition tells us that any correct algorithm must look at every element in the array, that's why we can't do better. Let's find an actual proof.
Drugs are addictive  because they either mimic or stimulate the production of brain chemicals that cause feelings of pleasure. After a period of time, your brain adjusts to the higher levels of the chemicals, and it becomes necessary to use more drugs to get the same effect.
When you stop using drugs or alcohol it's like taking the weight off the spring, and your brain rebounds by producing a surge of adrenaline that causes withdrawal symptoms. Every drug is different. Some drugs produce significant physical withdrawal (alcohol, opiates, and tranquilizers).Some drugs produce little physical withdrawal, but more emotional withdrawal (cocaine, marijuana, and ecstasy). Every person's physical withdrawal pattern is also different.very drug is different. Some drugs produce significant physical withdrawal (alcohol, opiates, and tranquilizers). Some drugs produce little physical withdrawal, but more emotional withdrawal (cocaine, marijuana, and ecstasy). Every person's physical withdrawal pattern is also different.