Solve Breaking the Records
Given an array of Maria's basketball scores all season, determine the number of times she breaks her best and worst records. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.