Fitbit interview question

Different algorithm problems that can be found on hackerrank