a couple of hackerrank examples