nhra a stock automatic
longest work slot hackerrank solution