this is the accepter code for the algorithms of challenges on hackerrank