Code Review: HackerRank (Stacks) - Maximum element solution gets a timeout (3 Solutions!!)

Published --